fix touchscreen bug on Wayland

This commit is contained in:
Arisotura 2024-04-09 12:54:31 +02:00
parent 968bd26d85
commit 0b87dd5fa6
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ void ScreenPanel::mouseMoveEvent(QMouseEvent* event)
showCursor(); showCursor();
if (!(event->buttons() & Qt::LeftButton)) return; //if (!(event->buttons() & Qt::LeftButton)) return;
if (!touching) return; if (!touching) return;
int x = event->pos().x(); int x = event->pos().x();