aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2024-04-09 12:54:31 +0200
committerArisotura <thetotalworm@gmail.com>2024-04-09 12:54:31 +0200
commit0b87dd5fa6aa70277d07a2af301db843be9e9a01 (patch)
tree7710273f28ec3d49a93b6030f5df5bc96987b436
parent968bd26d854f71faf19d9de3ba454e62f1f13f58 (diff)
fix touchscreen bug on Wayland
-rw-r--r--src/frontend/qt_sdl/Screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/qt_sdl/Screen.cpp b/src/frontend/qt_sdl/Screen.cpp
index cfcbeed..7323650 100644
--- a/src/frontend/qt_sdl/Screen.cpp
+++ b/src/frontend/qt_sdl/Screen.cpp
@@ -214,7 +214,7 @@ void ScreenPanel::mouseMoveEvent(QMouseEvent* event)
showCursor();
- if (!(event->buttons() & Qt::LeftButton)) return;
+ //if (!(event->buttons() & Qt::LeftButton)) return;
if (!touching) return;
int x = event->pos().x();