diff options
author | Arisotura <thetotalworm@gmail.com> | 2024-04-09 12:54:31 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2024-04-09 12:54:31 +0200 |
commit | 0b87dd5fa6aa70277d07a2af301db843be9e9a01 (patch) | |
tree | 7710273f28ec3d49a93b6030f5df5bc96987b436 | |
parent | 968bd26d854f71faf19d9de3ba454e62f1f13f58 (diff) |
fix touchscreen bug on Wayland
-rw-r--r-- | src/frontend/qt_sdl/Screen.cpp | 2 |
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(); |