aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-06-26 18:16:08 +0000
committerRichard M. Stallman <[email protected]>1996-06-26 18:16:08 +0000
commitf000f5c5ac061ad8075841b9c8fb2019ae5fc531 (patch)
treec83a332fa81dde0ce772ce91aece463382f9acdd
parentbe166d172626b2189fcb2be89f2cc14a080632da (diff)
(XTread_socket, Xatom_wm_save_yourself clause):
Don't call XSetCommand if f is 0.
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 35fa4cf424..977e1b8020 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);