mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-27 00:30:26 +08:00
fixed timeout when getting selection -- forgot to set flag to
terminate event loop.
This commit is contained in:
@@ -1190,6 +1190,7 @@ bool CXWindowsClipboard::CICCCMGetClipboard::doEventPredicate(
|
||||
// done if this is the timeout message
|
||||
if (xevent->xclient.window == m_requestor &&
|
||||
xevent->xclient.message_type == m_timeout) {
|
||||
m_failed = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user