From f000f5c5ac061ad8075841b9c8fb2019ae5fc531 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 26 Jun 1996 18:16:08 +0000 Subject: [PATCH] (XTread_socket, Xatom_wm_save_yourself clause): Don't call XSetCommand if f is 0. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2