Commit c791c18e authored by Dmitry Antipov's avatar Dmitry Antipov
Browse files

* xterm.c (last_mouse_press_frame): Remove the

leftover which is not really used any more.
(handle_one_xevent, syms_of_xterm): Adjust users.
parent 23456a2c
2013-08-01 Dmitry Antipov <dmantipov@yandex.ru>
* xterm.c (last_mouse_press_frame): Remove the
leftover which is not really used any more.
(handle_one_xevent, syms_of_xterm): Adjust users.
2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
Drop unnecessary functions that deals with frame pixel size.
......
......@@ -213,7 +213,6 @@ static unsigned long ignore_next_mouse_click_timeout;
static XRectangle last_mouse_glyph;
static FRAME_PTR last_mouse_glyph_frame;
static Lisp_Object last_mouse_press_frame;
/* The scroll bar in which the last X motion event occurred.
......@@ -6975,14 +6974,8 @@ handle_one_xevent (struct x_display_info *dpyinfo, XEvent *eventptr,
&& event.xbutton.same_screen)
{
SET_SAVED_BUTTON_EVENT;
XSETFRAME (last_mouse_press_frame, f);
*finish = X_EVENT_DROP;
}
else if (event.type == ButtonPress)
{
last_mouse_press_frame = Qnil;
goto OTHER;
}
else
goto OTHER;
#endif /* USE_X_TOOLKIT || USE_GTK */
......@@ -10728,9 +10721,6 @@ syms_of_xterm (void)
DEFSYM (Qvendor_specific_keysyms, "vendor-specific-keysyms");
DEFSYM (Qlatin_1, "latin-1");
staticpro (&last_mouse_press_frame);
last_mouse_press_frame = Qnil;
#ifdef USE_GTK
xg_default_icon_file = build_pure_c_string ("icons/hicolor/scalable/apps/emacs.svg");
staticpro (&xg_default_icon_file);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment