summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2007-02-02 09:35:02 +0000
committerJan Djärv <jan.h.d@swipnet.se>2007-02-02 09:35:02 +0000
commit849bb789c8c8863291569284163f7cef2ed57229 (patch)
tree5e3543d7e299f802568a9444bc9b0aa617e42bfc /src/xterm.c
parentb05db979e489255731c36b0f4d02b1e3aff4642b (diff)
downloademacs-849bb789c8c8863291569284163f7cef2ed57229.tar.gz
(do_ewmh_fullscreen): Check that what != NULL before
calling wm_supports.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index e3fb3ae1c14..3650f3cc541 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,