]> git.eshelyaron.com Git - emacs.git/commitdiff
(Tmouse_position): If the passed in frame is not an
authorRichard M. Stallman <rms@gnu.org>
Wed, 10 Nov 1993 20:07:07 +0000 (20:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 10 Nov 1993 20:07:07 +0000 (20:07 +0000)
Xwindow frame, don't do anything.

src/xterm.c

index ca4c5bacc310a095b824d760e47c0f459bdcfbee..97f39dd3f2355f51eef62bf0738624a3ef950147 100644 (file)
@@ -1784,6 +1784,10 @@ XTmouse_position (f, bar_window, part, x, y, time)
 {
   FRAME_PTR f1;
 
+  /* If this isn't an X-window frame, quit now. */
+  if (!FRAME_X_P (f))
+    return;
+
   BLOCK_INPUT;
 
   if (! NILP (last_mouse_scroll_bar))