From 4ed20b977d2670e637a245537e421dabf21f8151 Mon Sep 17 00:00:00 2001 From: John Schember Date: Fri, 30 Aug 2024 17:26:34 -0400 Subject: [PATCH] set wait for window select to 6 seconds. --- src/grabinfo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/grabinfo.cpp b/src/grabinfo.cpp index b4b6580..e99d360 100644 --- a/src/grabinfo.cpp +++ b/src/grabinfo.cpp @@ -31,8 +31,7 @@ void GrabInfo::exec() m_isGrabbing = true; // Enable XCB_BUTTON_PRESS code in event filter // m_qtimer.setSingleShot(true); - // m_qtimer-> start(20000); // 20 second timeout - m_qtimer.start(5000); // 5 second timeout + m_qtimer.start(6000); // 6 second timeout m_qloop.exec(); // block until button pressed or timeout }