compositor-x11: Only try to fullscreen if WM has _NET_WM_STATE_FULLSCREEN
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 20 Feb 2013 02:19:04 +0000 (21:19 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 20 Feb 2013 02:19:04 +0000 (21:19 -0500)
commit7cc3d846f42da60bb9a5232e0afc5afea435e7f5
treec155dfac956796d2aa1d15833b71f1e737c27077
parent97a56145636316fdb431b91ec64adff217287cd9
compositor-x11: Only try to fullscreen if WM has _NET_WM_STATE_FULLSCREEN

If the window manager doesn't support _NET_WM_STATE_FULLSCREEN, the
fullscreen protocol won't work and we end up waiting indefintely for a
confiure event that doesn't come.

Only try to fullscreen if we have _NET_WM_STATE_FULLSCREEN, and only
wait for map if we're fullscreen.

https://bugs.freedesktop.org/show_bug.cgi?id=61133
src/compositor-x11.c