Skip to content

Commit

Permalink
fix touchscreen bug on Wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
Arisotura committed Apr 9, 2024
1 parent 968bd26 commit 0b87dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/qt_sdl/Screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0b87dd5

Please sign in to comment.