diff --git a/tools/linuxfs/overlay/usr/local/bin/droiddeck-xwindows b/tools/linuxfs/overlay/usr/local/bin/droiddeck-xwindows index af06247bb2..a0ed148afb 100755 --- a/tools/linuxfs/overlay/usr/local/bin/droiddeck-xwindows +++ b/tools/linuxfs/overlay/usr/local/bin/droiddeck-xwindows @@ -2,7 +2,10 @@ # The top-level windows of one Xwayland server, one line each, for the session log: what gamescope # had to pick focus from. Each line has the window, whether it is mapped, override-redirect, its # geometry, the app id it carries (STEAM_GAME, which gamescope focuses by), its WM_STATE, pid and -# class. Windows that are neither mapped nor tagged with an app id are left out - wine keeps many +# class. Then whatever is set of what else gamescope weighs before it counts a mapped window as +# focusable: an InputOnly class, _NET_WM_WINDOW_OPACITY (0 is never focusable), STEAM_OVERLAY, +# GAMESCOPE_EXTERNAL_OVERLAY, STEAM_INPUT_FOCUS and _NET_WM_STATE (skip taskbar and pager without +# fullscreen is left out of the focusable list the client reads). Windows that are neither mapped nor tagged with an app id are left out - wine keeps many # hidden ones. The rootfs has xprop but no xwininfo, so this speaks the X protocol itself. # # droiddeck-xwindows :1 @@ -65,7 +68,13 @@ class X: def attributes(self, win): r = self.request(struct.pack("