Microtouch: add option to turn off visible mouse crosshair for people using touchscreens

This commit is contained in:
Jos van Mourik
2024-07-26 20:12:10 +02:00
parent 5a5fd566cf
commit 04a7a35f27
3 changed files with 11 additions and 2 deletions

View File

@@ -251,6 +251,8 @@ RendererStack::enterEvent(QEvent *event)
mousedata.mouse_tablet_in_proximity = m_monitor_index + 1;
if (mouse_input_mode == 1)
QApplication::setOverrideCursor(Qt::BlankCursor);
else if (mouse_input_mode == 2)
QApplication::setOverrideCursor(Qt::CrossCursor);
}