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
This commit is contained in:
Xaver Hugl 2024-01-30 23:20:09 +01:00 committed by Vlad Zahorodnii
parent 3a1b9414ed
commit 8d44ece874

View file

@ -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] {