]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTread_socket, Xatom_wm_save_yourself clause):
authorRichard M. Stallman <rms@gnu.org>
Wed, 26 Jun 1996 18:16:08 +0000 (18:16 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 26 Jun 1996 18:16:08 +0000 (18:16 +0000)
Don't call XSetCommand if f is 0.

src/xterm.c

index 35fa4cf42412f1cc8602e59a690388616e50cb08..977e1b8020f8966df0a5faf39047b0fd403cc202 100644 (file)
@@ -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);