From: Richard M. Stallman Date: Wed, 26 Jun 1996 18:16:08 +0000 (+0000) Subject: (XTread_socket, Xatom_wm_save_yourself clause): X-Git-Tag: emacs-19.34~343 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f000f5c5ac061ad8075841b9c8fb2019ae5fc531;p=emacs.git (XTread_socket, Xatom_wm_save_yourself clause): Don't call XSetCommand if f is 0. --- diff --git a/src/xterm.c b/src/xterm.c index 35fa4cf4241..977e1b8020f 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -3354,7 +3354,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected) XSetCommand (FRAME_X_DISPLAY (f), event.xclient.window, initial_argv, initial_argc); - else + else if (f) XSetCommand (FRAME_X_DISPLAY (f), event.xclient.window, 0, 0);