# HG changeset patch # User Richard M. Stallman # Date 752962027 0 # Node ID 617153da11361d85c4fa243a18db413a436d82e3 # Parent afa76fe24878af61460f8c000c7fa686083dfe2a (Tmouse_position): If the passed in frame is not an Xwindow frame, don't do anything. diff -r afa76fe24878 -r 617153da1136 src/xterm.c --- 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))