]> git.eshelyaron.com Git - emacs.git/commitdiff
(handle_one_xevent): Remove check that mouse click is in
authorJan Djärv <jan.h.d@swipnet.se>
Fri, 17 Aug 2007 07:55:25 +0000 (07:55 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Fri, 17 Aug 2007 07:55:25 +0000 (07:55 +0000)
active frame.

src/ChangeLog
src/xterm.c

index 7909260228eebda64da9887e1cb3be4b1bfb0bf7..86a6ad61d2d9871bd9b13beed9d0b18b3f90399b 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-17  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c (handle_one_xevent): Remove check that mouse click is in
+       active frame.
+
 2007-08-16  Richard Stallman  <rms@gnu.org>
 
        * eval.c (Fcommandp): Add parens to clarify.
index a5bb506f03536cb4de32525061b8431ee8229776..fdff9b4f02eacf54fd1bc22a3a0df1e0db310d7b 100644 (file)
@@ -6853,27 +6853,23 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
               }
 
             if (!tool_bar_p)
-              if (!dpyinfo->x_focus_frame
-                  || f == dpyinfo->x_focus_frame)
-                {
 #if defined (USE_X_TOOLKIT) || defined (USE_GTK)
-                  if (! popup_activated ())
+              if (! popup_activated ())
 #endif
-                   {
-                     if (ignore_next_mouse_click_timeout)
-                       {
-                         if (event.type == ButtonPress
-                             && (int)(event.xbutton.time - ignore_next_mouse_click_timeout) > 0)
-                           {
-                             ignore_next_mouse_click_timeout = 0;
-                             construct_mouse_click (&inev.ie, &event.xbutton, f);
-                           }
-                         if (event.type == ButtonRelease)
-                           ignore_next_mouse_click_timeout = 0;
-                       }
-                     else
-                       construct_mouse_click (&inev.ie, &event.xbutton, f);
-                   }
+                {
+                  if (ignore_next_mouse_click_timeout)
+                    {
+                      if (event.type == ButtonPress
+                          && (int)(event.xbutton.time - ignore_next_mouse_click_timeout) > 0)
+                        {
+                          ignore_next_mouse_click_timeout = 0;
+                          construct_mouse_click (&inev.ie, &event.xbutton, f);
+                        }
+                      if (event.type == ButtonRelease)
+                        ignore_next_mouse_click_timeout = 0;
+                    }
+                  else
+                    construct_mouse_click (&inev.ie, &event.xbutton, f);
                 }
           }
         else