ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
472 stars 38 forks source link

[x11][fullscreen] _NET_WM_STATE(ATOM) value is lost after tabbing out and back #1702

Open sylware opened 4 years ago

sylware commented 4 years ago

At start the "desktop friendly" fullscreen is setting properly its value: _NET_WM_STATE(ATOM) = _NET_WM_STATE_FULLSCREEN (from xprop)

but if I tab out and back the value is cleared to empty/invalid: _NET_WM_STATE(ATOM) = (from xprop)

I use a state of the art x11 stack, and I use the dwm window manager (but I used fvwm2 and the issue was there too)

sylware commented 4 years ago

I did check the freedesktop extended window manager spec: the wm is supposed to empty this property once the window is withdrawn. But the wm is in charge to keep this property consistent. Either dwm does forget to restore the content of the property once the window is mapped again, or dota2 does send a client message toggling/removing the fullscreen atom from state window property upon window withdrawal.

sylware commented 2 years ago

it is still happening (desktop friendly) fullscreen made, but now I force it to go fullscreen via my x11 wm (dwm), does not matter then.