emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/xterm.c,v [EMACS_22_BASE]


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/src/xterm.c,v [EMACS_22_BASE]
Date: Fri, 17 Aug 2007 07:51:56 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Jan Djärv <jhd>        07/08/17 07:51:55

Index: xterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xterm.c,v
retrieving revision 1.943.2.6
retrieving revision 1.943.2.7
diff -u -b -r1.943.2.6 -r1.943.2.7
--- xterm.c     11 Aug 2007 02:06:25 -0000      1.943.2.6
+++ xterm.c     17 Aug 2007 07:51:55 -0000      1.943.2.7
@@ -6751,7 +6751,11 @@
           f = last_mouse_frame;
         else
           f = x_window_to_frame (dpyinfo, event.xbutton.window);
-
+        if (event.type == ButtonPress)
+          {
+            static int xxx = 0;
+            fprintf (stderr, "%d, F: %p\n", xxx++, f);
+          }
         if (f)
           {
             /* Is this in the tool-bar?  */
@@ -6777,9 +6781,6 @@
               }
 
             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 ())
 #endif
@@ -6799,7 +6800,6 @@
                        construct_mouse_click (&inev.ie, &event.xbutton, f);
                    }
                 }
-          }
         else
           {
             struct scroll_bar *bar




reply via email to

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