Skip to content

Commit

Permalink
set wait for window select to 6 seconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
user-none committed Aug 30, 2024
1 parent b5f2f9d commit 4ed20b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/grabinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 4ed20b9

Please sign in to comment.