From: Jan Djärv Date: Wed, 14 Feb 2007 07:28:47 +0000 (+0000) Subject: (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. X-Git-Tag: emacs-pretest-22.0.94~207 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6dac214ccdaf467ba26c87b4f94f23e4e8ed97c9;p=emacs.git (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. --- diff --git a/src/ChangeLog b/src/ChangeLog index 4b0de7b4501..b0432d602e0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2007-02-14 Jan Dj,Ad(Brv + + * xterm.c (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. + 2007-02-13 YAMAMOTO Mitsuharu * macfns.c (Fx_focus_frame): Move current process to foreground if diff --git a/src/xterm.c b/src/xterm.c index cf319b374d9..c4763dfb3ec 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8426,6 +8426,11 @@ do_ewmh_fullscreen (f) { 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;