mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-25 08:22:36 +00:00
[client] transport: report loss before provider cleanup
Some checks failed
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / module (push) Has been cancelled
build / host-linux (push) Has been cancelled
build / host-windows-cross (push) Has been cancelled
build / host-windows-native (push) Has been cancelled
build / idd (push) Has been cancelled
build / obs (clang) (push) Has been cancelled
build / obs (gcc) (push) Has been cancelled
build / docs (push) Has been cancelled
Some checks failed
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / module (push) Has been cancelled
build / host-linux (push) Has been cancelled
build / host-windows-cross (push) Has been cancelled
build / host-windows-native (push) Has been cancelled
build / idd (push) Has been cancelled
build / obs (clang) (push) Has been cancelled
build / obs (gcc) (push) Has been cancelled
build / docs (push) Has been cancelled
This commit is contained in:
@@ -1212,10 +1212,10 @@ int main_cursorThread(void * unused)
|
||||
|
||||
if (status == LG_TRANSPORT_DISCONNECTED)
|
||||
{
|
||||
primaryLost();
|
||||
lgInput_dropTransport();
|
||||
lgAudio_dropTransport();
|
||||
clipboard_dropTransport();
|
||||
primaryLost();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1416,10 +1416,10 @@ int main_frameThread(void * unused)
|
||||
}
|
||||
if (status == LG_TRANSPORT_DISCONNECTED)
|
||||
{
|
||||
primaryLost();
|
||||
lgInput_dropTransport();
|
||||
lgAudio_dropTransport();
|
||||
clipboard_dropTransport();
|
||||
primaryLost();
|
||||
}
|
||||
else if (status == LG_TRANSPORT_END)
|
||||
primaryWorkerFailed();
|
||||
@@ -3921,10 +3921,10 @@ restart:
|
||||
if (unlikely(!g_state.transport.ops->sessionValid(
|
||||
g_state.transport.handle)))
|
||||
{
|
||||
primaryLost();
|
||||
lgInput_dropTransport();
|
||||
lgAudio_dropTransport();
|
||||
clipboard_dropTransport();
|
||||
primaryLost();
|
||||
break;
|
||||
}
|
||||
lgMessage_process();
|
||||
|
||||
Reference in New Issue
Block a user