Mercurial > emacs
comparison src/xterm.c @ 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 | 7653c78ac0c1 |
children | 2d729d1bd643 |
comparison
equal
deleted
inserted
replaced
4959:afa76fe24878 | 4960:617153da1136 |
---|---|
1781 enum scroll_bar_part *part; | 1781 enum scroll_bar_part *part; |
1782 Lisp_Object *x, *y; | 1782 Lisp_Object *x, *y; |
1783 unsigned long *time; | 1783 unsigned long *time; |
1784 { | 1784 { |
1785 FRAME_PTR f1; | 1785 FRAME_PTR f1; |
1786 | |
1787 /* If this isn't an X-window frame, quit now. */ | |
1788 if (!FRAME_X_P (f)) | |
1789 return; | |
1786 | 1790 |
1787 BLOCK_INPUT; | 1791 BLOCK_INPUT; |
1788 | 1792 |
1789 if (! NILP (last_mouse_scroll_bar)) | 1793 if (! NILP (last_mouse_scroll_bar)) |
1790 x_scroll_bar_report_motion (f, bar_window, part, x, y, time); | 1794 x_scroll_bar_report_motion (f, bar_window, part, x, y, time); |