mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 13:55:58 +00:00
Hide the touchpad cursor when switching to direct touch (#424)
This commit is contained in:
1 parent
3ea35abe83
commit
b6428901b1
1 file changed
+1
-1
@@ -829,7 +829,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
|
|||||||
WaylandCompositor.nativeSendSceneInput(3, it, 0)
|
WaylandCompositor.nativeSendSceneInput(3, it, 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (nextTouchMode == SessionPrefs.TOUCH_OFF) cursorVisible = false
|
if (nextTouchMode == SessionPrefs.TOUCH_OFF || !usingTouchpad()) cursorVisible = false
|
||||||
}
|
}
|
||||||
touchMode = nextTouchMode
|
touchMode = nextTouchMode
|
||||||
routedTouchMode = effectiveTouchMode()
|
routedTouchMode = effectiveTouchMode()
|
||||||
|
|||||||
Reference in new issue
Block a user