comparison 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
comparison
equal deleted inserted replaced
75866:d200c20e8419 75867:9a4cb30592fe
8423 static int 8423 static int
8424 do_ewmh_fullscreen (f) 8424 do_ewmh_fullscreen (f)
8425 struct frame *f; 8425 struct frame *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
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");
8428 8433
8429 if (have_net_atom) 8434 if (have_net_atom)
8430 { 8435 {
8431 Lisp_Object frame; 8436 Lisp_Object frame;
8432 const char *atom = "_NET_WM_STATE"; 8437 const char *atom = "_NET_WM_STATE";