aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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))