emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113627: * xterm.c (last_mouse_press_frame): Remove


From: Dmitry Antipov
Subject: [Emacs-diffs] trunk r113627: * xterm.c (last_mouse_press_frame): Remove the
Date: Thu, 01 Aug 2013 05:29:10 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113627
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Thu 2013-08-01 09:28:24 +0400
message:
  * xterm.c (last_mouse_press_frame): Remove the
  leftover which is not really used any more.
  (handle_one_xevent, syms_of_xterm): Adjust users.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/xterm.c                    xterm.c-20091113204419-o5vbwnq5f7feedwu-244
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-07-31 12:50:59 +0000
+++ b/src/ChangeLog     2013-08-01 05:28:24 +0000
@@ -1,3 +1,9 @@
+2013-08-01  Dmitry Antipov  <address@hidden>
+
+       * 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  <address@hidden>
 
        Drop unnecessary functions that deals with frame pixel size.

=== modified file 'src/xterm.c'
--- a/src/xterm.c       2013-07-30 05:56:18 +0000
+++ b/src/xterm.c       2013-08-01 05:28:24 +0000
@@ -213,7 +213,6 @@
 
 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 @@
             && 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 @@
   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);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]