changeset 75597:1c611e79e0d4

(do_ewmh_fullscreen): Check that what != NULL before calling wm_supports.
author Jan Djärv <jan.h.d@swipnet.se>
date Fri, 02 Feb 2007 09:34:51 +0000
parents e91c62156b20
children 78cbb66b89d5
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Feb 02 08:59:04 2007 +0000
+++ b/src/xterm.c	Fri Feb 02 09:34:51 2007 +0000
@@ -8442,7 +8442,7 @@
           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,