aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorJim Blandy1992-01-28 17:14:13 +0000
committerJim Blandy1992-01-28 17:14:13 +0000
commit6bbbd9b0eeac2e41c7bce72e80e77dafe81e71b3 (patch)
tree3d11b06bcb0542ce662da74894fbe644c595e285 /src/xterm.c
parent760cbdd312c714899cf76f5ca39d8fd17a6a28e4 (diff)
downloademacs-6bbbd9b0eeac2e41c7bce72e80e77dafe81e71b3.tar.gz
emacs-6bbbd9b0eeac2e41c7bce72e80e77dafe81e71b3.zip
*** empty log message ***
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/xterm.c b/src/xterm.c
index dd07185ca23..0f8da850112 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -1286,21 +1286,12 @@ enum window_type
1286 text_window, 1286 text_window,
1287}; 1287};
1288 1288
1289/* Symbol returned in input stream to indicate mouse movement. */
1290Lisp_Object Qmouse_moved;
1291
1292/* Position of the mouse in characters */ 1289/* Position of the mouse in characters */
1293unsigned int x_mouse_x, x_mouse_y; 1290unsigned int x_mouse_x, x_mouse_y;
1294 1291
1295/* Emacs window the mouse is in, if any. */
1296extern Lisp_Object Vmouse_window;
1297
1298/* Offset in buffer of character under the pointer, or 0. */ 1292/* Offset in buffer of character under the pointer, or 0. */
1299extern int mouse_buffer_offset; 1293extern int mouse_buffer_offset;
1300 1294
1301/* Part of the screen the mouse is in. */
1302extern Lisp_Object Vmouse_screen_part;
1303
1304extern int buffer_posn_from_coords (); 1295extern int buffer_posn_from_coords ();
1305 1296
1306/* Symbols from xfns.c to denote the different parts of a window. */ 1297/* Symbols from xfns.c to denote the different parts of a window. */
@@ -1701,10 +1692,6 @@ static char *events[] =
1701#define XEvent XKeyPressedEvent 1692#define XEvent XKeyPressedEvent
1702#endif /* HAVE_X11 */ 1693#endif /* HAVE_X11 */
1703 1694
1704/* Symbols returned in the input stream to indicate various X events. */
1705Lisp_Object Qmouse_click;
1706Lisp_Object Qscrollbar_click;
1707
1708/* Timestamp of enter window event. This is only used by XTread_socket, 1695/* Timestamp of enter window event. This is only used by XTread_socket,
1709 but we have to put it out here, since static variables within functions 1696 but we have to put it out here, since static variables within functions
1710 sometimes don't work. */ 1697 sometimes don't work. */
@@ -1888,7 +1875,6 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
1888 disabled; you don't want to spend time updating a 1875 disabled; you don't want to spend time updating a
1889 display that won't ever be seen. */ 1876 display that won't ever be seen. */
1890 s->visible = 0; 1877 s->visible = 0;
1891 Vmouse_window = Vmouse_screen_part = Qnil;
1892 x_mouse_x = x_mouse_y = -1; 1878 x_mouse_x = x_mouse_y = -1;
1893 } 1879 }
1894 } 1880 }
@@ -3323,7 +3309,6 @@ x_make_screen_visible (s)
3323#endif /* not HAVE_X11 */ 3309#endif /* not HAVE_X11 */
3324 } 3310 }
3325 3311
3326 XRaiseWindow (XDISPLAY s->display.x->window_desc);
3327 XFlushQueue (); 3312 XFlushQueue ();
3328 3313
3329 UNBLOCK_INPUT; 3314 UNBLOCK_INPUT;
@@ -3761,10 +3746,6 @@ syms_of_xterm ()
3761{ 3746{
3762 staticpro (&invocation_name); 3747 staticpro (&invocation_name);
3763 invocation_name = Qnil; 3748 invocation_name = Qnil;
3764
3765 Qmouse_moved = intern ("mouse-moved");
3766 Qmouse_click = intern ("mouse-click");
3767 Qscrollbar_click = intern ("scrollbar-click");
3768} 3749}
3769#endif /* HAVE_X11 */ 3750#endif /* HAVE_X11 */
3770#endif /* HAVE_X_WINDOWS */ 3751#endif /* HAVE_X_WINDOWS */