diff src/xterm.c @ 4960:617153da1136

(Tmouse_position): If the passed in frame is not an Xwindow frame, don't do anything.
author Richard M. Stallman <rms@gnu.org>
date Wed, 10 Nov 1993 20:07:07 +0000
parents 7653c78ac0c1
children 2d729d1bd643
line wrap: on
line diff
--- a/src/xterm.c	Wed Nov 10 20:03:25 1993 +0000
+++ b/src/xterm.c	Wed Nov 10 20:07:07 1993 +0000
@@ -1784,6 +1784,10 @@
 {
   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))