aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorJan Djärv2007-02-14 07:28:47 +0000
committerJan Djärv2007-02-14 07:28:47 +0000
commit6dac214ccdaf467ba26c87b4f94f23e4e8ed97c9 (patch)
tree7e849efae50dd67c6683e8f00ac14e27941e8aab /src/xterm.c
parentfc0a17938b9556591e4811b0c80a39ea439f8fee (diff)
downloademacs-6dac214ccdaf467ba26c87b4f94f23e4e8ed97c9.tar.gz
emacs-6dac214ccdaf467ba26c87b4f94f23e4e8ed97c9.zip
(do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c5
1 files changed, 5 insertions, 0 deletions
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)
8426{ 8426{
8427 int have_net_atom = wm_supports (f, "_NET_WM_STATE"); 8427 int have_net_atom = wm_supports (f, "_NET_WM_STATE");
8428 8428
8429 /* Some window managers don't say they support _NET_WM_STATE, but they do say
8430 they support _NET_WM_STATE_FULLSCREEN. Try that also. */
8431 if (!have_net_atom)
8432 have_net_atom = wm_supports (f, "_NET_WM_STATE_FULLSCREEN");
8433
8429 if (have_net_atom) 8434 if (have_net_atom)
8430 { 8435 {
8431 Lisp_Object frame; 8436 Lisp_Object frame;