(do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN.

This commit is contained in:
Jan Djärv 2007-02-14 07:28:47 +00:00
parent fc0a17938b
commit 6dac214ccd
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2007-02-14 Jan Dj,Ad(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

View 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;