# HG changeset patch # User Jan Dj¸«£rv # Date 1171438116 0 # Node ID 9a4cb30592fe95ebc850e9492f10e5b04183c8b8 # Parent d200c20e84198f2f22180c5a1aa0cfc054845f69 (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. diff -r d200c20e8419 -r 9a4cb30592fe src/xterm.c --- a/src/xterm.c Wed Feb 14 03:25:10 2007 +0000 +++ b/src/xterm.c Wed Feb 14 07:28:36 2007 +0000 @@ -8426,6 +8426,11 @@ { int have_net_atom = wm_supports (f, "_NET_WM_STATE"); + /* Some window managers don't say they support _NET_WM_STATE, but they do say + they support _NET_WM_STATE_FULLSCREEN. Try that also. */ + if (!have_net_atom) + have_net_atom = wm_supports (f, "_NET_WM_STATE_FULLSCREEN"); + if (have_net_atom) { Lisp_Object frame;