Hide the touchpad cursor when switching to direct touch (#424)

This commit is contained in:
Ashish Ajin authored and GitHub committed 2026-10-10 15:02:38 -04:00
1 parent 3ea35abe83
commit b6428901b1
1 file changed
+1 -1
@@ -829,7 +829,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
WaylandCompositor.nativeSendSceneInput(3, it, 0)
}
}
if (nextTouchMode == SessionPrefs.TOUCH_OFF) cursorVisible = false
if (nextTouchMode == SessionPrefs.TOUCH_OFF || !usingTouchpad()) cursorVisible = false
}
touchMode = nextTouchMode
routedTouchMode = effectiveTouchMode()