From 8d44ece8743dcc32445edd718740905fad5ab661 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Tue, 30 Jan 2024 23:20:09 +0100 Subject: [PATCH] input: increase raise timeout for drag and drop to 1s This should be long enough to not happen accidentally, but short enough to not be annoying and discoverable. BUG: 480511 --- src/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input.cpp b/src/input.cpp index b9ab89606c..946248366c 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -2376,7 +2376,7 @@ public: DragAndDropInputFilter() { m_raiseTimer.setSingleShot(true); - m_raiseTimer.setInterval(250); + m_raiseTimer.setInterval(1000); connect(&m_raiseTimer, &QTimer::timeout, this, &DragAndDropInputFilter::raiseDragTarget); connect(waylandServer()->seat(), &SeatInterface::dragEnded, this, [this] {