From 4dea6d905e5ce923581019cd1075c9db5a4becfc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 10 Nov 1993 20:07:07 +0000 Subject: [PATCH] (Tmouse_position): If the passed in frame is not an Xwindow frame, don't do anything. --- src/xterm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index ca4c5bacc31..97f39dd3f23 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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)) -- 2.39.5