Commit 6dac214c authored by Jan Djärv's avatar Jan Djärv
Browse files

(do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN.

parent fc0a1793
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
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment