From 849bb789c8c8863291569284163f7cef2ed57229 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Fri, 2 Feb 2007 09:35:02 +0000 Subject: [PATCH] (do_ewmh_fullscreen): Check that what != NULL before calling wm_supports. --- src/ChangeLog | 5 +++++ src/xterm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 515f5a334cb..bfc82e05a5e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2007-02-02 Jan Dj,Ad(Brv + + * xterm.c (do_ewmh_fullscreen): Check that what != NULL before + calling wm_supports. + 2007-02-01 Juanma Barranquero * lread.c (syms_of_lread) : Doc fix. 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, -- 2.39.2