Mercurial > emacs
changeset 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 | d200c20e8419 |
children | 704a42f67bd3 |
files | src/xterm.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Wed Feb 14 03:25:10 2007 +0000 +++ b/src/xterm.c Wed Feb 14 07:28:36 2007 +0000 @@ -8426,6 +8426,11 @@ { 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;