fix touchscreen bug on Wayland
This commit is contained in:
parent
968bd26d85
commit
0b87dd5fa6
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue