Mercurial > emacs
diff src/xterm.c @ 75867:9a4cb30592fe
(do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Wed, 14 Feb 2007 07:28:36 +0000 |
parents | a769ec5ab883 |
children | 41ef8bcc30ad 07774e5c3ff5 dd7c098af727 |
line wrap: on
line diff
--- 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;