aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-10 20:07:07 +0000
committerRichard M. Stallman1993-11-10 20:07:07 +0000
commit4dea6d905e5ce923581019cd1075c9db5a4becfc (patch)
tree50b2f43124821901acf3d08f9c827d11bad6d75c /src/xterm.c
parent727b007cb25859b82c6b62fdb02bd0d104851a1d (diff)
downloademacs-4dea6d905e5ce923581019cd1075c9db5a4becfc.tar.gz
emacs-4dea6d905e5ce923581019cd1075c9db5a4becfc.zip
(Tmouse_position): If the passed in frame is not an
Xwindow frame, don't do anything.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c4
1 files changed, 4 insertions, 0 deletions
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)
1784{ 1784{
1785 FRAME_PTR f1; 1785 FRAME_PTR f1;
1786 1786
1787 /* If this isn't an X-window frame, quit now. */
1788 if (!FRAME_X_P (f))
1789 return;
1790
1787 BLOCK_INPUT; 1791 BLOCK_INPUT;
1788 1792
1789 if (! NILP (last_mouse_scroll_bar)) 1793 if (! NILP (last_mouse_scroll_bar))