changeset 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 afa76fe24878
children dd67510308ae
files src/xterm.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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))