From: Jan Djärv Date: Fri, 2 Feb 2007 09:35:02 +0000 (+0000) Subject: (do_ewmh_fullscreen): Check that what != NULL before X-Git-Tag: emacs-pretest-22.0.94~461 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=849bb789c8c8863291569284163f7cef2ed57229;p=emacs.git (do_ewmh_fullscreen): Check that what != NULL before calling wm_supports. --- 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,