mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-11 10:56:25 +08:00
Shortened timeout on waiting for clipboard response.
This commit is contained in:
@@ -365,7 +365,7 @@ bool CXWindowsScreen::getDisplayClipboard(
|
|||||||
&CXWindowsScreen::findSelectionNotify,
|
&CXWindowsScreen::findSelectionNotify,
|
||||||
(XPointer)&requestor) != True) {
|
(XPointer)&requestor) != True) {
|
||||||
// return false if we've timed-out
|
// return false if we've timed-out
|
||||||
if (timer.getTime() >= 1.0)
|
if (timer.getTime() >= 0.2)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// wait a bit
|
// wait a bit
|
||||||
|
|||||||
Reference in New Issue
Block a user