diff options
author | Jan Djärv <[email protected]> | 2007-02-02 09:35:02 +0000 |
---|---|---|
committer | Jan Djärv <[email protected]> | 2007-02-02 09:35:02 +0000 |
commit | 849bb789c8c8863291569284163f7cef2ed57229 (patch) | |
tree | 5e3543d7e299f802568a9444bc9b0aa617e42bfc /src | |
parent | b05db979e489255731c36b0f4d02b1e3aff4642b (diff) |
(do_ewmh_fullscreen): Check that what != NULL before
calling wm_supports.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/xterm.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 515f5a334c..bfc82e05a5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2007-02-02 Jan Dj,Ad(Brv <[email protected]> + + * xterm.c (do_ewmh_fullscreen): Check that what != NULL before + calling wm_supports. + 2007-02-01 Juanma Barranquero <[email protected]> * lread.c (syms_of_lread) <user-init-file>: Doc fix. diff --git a/src/xterm.c b/src/xterm.c index e3fb3ae1c1..3650f3cc54 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8442,7 +8442,7 @@ do_ewmh_fullscreen (f) break; } - if (!wm_supports (f, what)) return 0; + if (what != NULL && !wm_supports (f, what)) return 0; Fx_send_client_event (frame, make_number (0), frame, |