mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Fix the timeout
This commit is contained in:
@@ -443,7 +443,7 @@ void WineXdndProxy::run_xdnd_loop() {
|
||||
while (!drop_finished) {
|
||||
// In case that window somehow becomes unresponsive or disappears, we
|
||||
// will set a timeout here to avoid hanging
|
||||
if (std::chrono::steady_clock::now() - wait_start < 5s) {
|
||||
if (std::chrono::steady_clock::now() - wait_start > 5s) {
|
||||
maybe_leave_last_window();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user