Touchpad on the desktop, and the guest's resolver from the live network

Touch on the desktop now works the way Bannerlator's desktop containers do:
the arrow stays where it is and a finger dragged anywhere moves it from there,
tap clicks, a second finger tapping while one holds (or a two-finger tap)
right-clicks, two fingers scroll, hold-then-drag and double-tap-hold drag.
Steam keeps the direct pointer; the drawer pins either.

The runtime's resolv.conf is written from the active network's DNS servers on
every link change — IPv4 first, never Android's link-local IPv6 ones, the
public pair as fallback — which is what glibc, and so Firefox, resolve with.
Routing needs nothing: proot makes no network namespace.
This commit is contained in:
The412Banner committed 2026-09-20 03:51:59 -04:00
1 parent f5ca6d0053
commit 6568bf667d
6 files changed
+262

No files matched your search

@@ -89,12 +89,14 @@ class DrawerActions(
val hudOn: Boolean,
val frameGenLabel: String,
val oscMode: String,
val touchMode: String,
val shapeMode: String,
val onHud: (Boolean) -> Unit,
val onFrameGen: () -> Unit,
val onKeyboard: () -> Unit,
val onProtons: () -> Unit,
val onOsc: () -> Unit,
val onTouch: () -> Unit,
val onShape: () -> Unit,
val onBackground: () -> Unit,
val onStop: () -> Unit,
@@ -143,6 +145,9 @@ fun SessionDrawer(a: DrawerActions) {
OutlinedButton(onClick = a.onOsc, modifier = Modifier.fillMaxWidth().padding(top = 6.dp)) {
Text("On-screen controls: ${a.oscMode}", fontSize = 13.sp)
}
OutlinedButton(onClick = a.onTouch, modifier = Modifier.fillMaxWidth().padding(top = 6.dp)) {
Text("Touch: ${a.touchMode}", fontSize = 13.sp)
}
OutlinedButton(onClick = a.onShape, modifier = Modifier.fillMaxWidth().padding(top = 6.dp)) {
Text("Display shape: ${a.shapeMode} · next session", fontSize = 13.sp)
}