diff options
| author | Jan Djärv | 2007-02-14 07:28:47 +0000 |
|---|---|---|
| committer | Jan Djärv | 2007-02-14 07:28:47 +0000 |
| commit | 6dac214ccdaf467ba26c87b4f94f23e4e8ed97c9 (patch) | |
| tree | 7e849efae50dd67c6683e8f00ac14e27941e8aab | |
| parent | fc0a17938b9556591e4811b0c80a39ea439f8fee (diff) | |
| download | emacs-6dac214ccdaf467ba26c87b4f94f23e4e8ed97c9.tar.gz emacs-6dac214ccdaf467ba26c87b4f94f23e4e8ed97c9.zip | |
(do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN.
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/xterm.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4b0de7b4501..b0432d602e0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-02-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * xterm.c (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. | ||
| 4 | |||
| 1 | 2007-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 5 | 2007-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 6 | ||
| 3 | * macfns.c (Fx_focus_frame): Move current process to foreground if | 7 | * macfns.c (Fx_focus_frame): Move current process to foreground if |
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; |