]> code.delx.au - gnu-emacs/commitdiff
(do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN.
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 14 Feb 2007 07:28:47 +0000 (07:28 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 14 Feb 2007 07:28:47 +0000 (07:28 +0000)
src/ChangeLog
src/xterm.c

index 4b0de7b45011064280b4fe67ff6a5b89864edbcc..b0432d602e01fd38dafc08a9f7b74d6619248181 100644 (file)
@@ -1,3 +1,7 @@
+2007-02-14  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN.
+
 2007-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * macfns.c (Fx_focus_frame): Move current process to foreground if
index cf319b374d905d5358cd6375b22298be2b67b0bb..c4763dfb3ec1a8fb3a1c661750cfefd9721e4e54 100644 (file)
@@ -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;