emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Martin Rudalics
Subject: [Emacs-diffs] Changes to emacs/src/w32term.c,v [EMACS_22_BASE]
Date: Sat, 06 Oct 2007 09:52:40 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Martin Rudalics <m061211>       07/10/06 09:52:39

Index: w32term.c
===================================================================
RCS file: /sources/emacs/emacs/src/w32term.c,v
retrieving revision 1.259.2.3
retrieving revision 1.259.2.4
diff -u -b -r1.259.2.3 -r1.259.2.4
--- w32term.c   21 Sep 2007 11:17:32 -0000      1.259.2.3
+++ w32term.c   6 Oct 2007 09:52:39 -0000       1.259.2.4
@@ -4339,7 +4339,13 @@
                     only when it is active.  */
                  if (WINDOWP(window)
                      && !EQ (window, last_window)
-                     && !EQ (window, selected_window))
+                     && !EQ (window, selected_window)
+                     /* For click-to-focus window managers
+                        create event iff we don't leave the
+                        selected frame.  */
+                     && (focus_follows_mouse
+                         || (EQ (XWINDOW (window)->frame,
+                                 XWINDOW (selected_window)->frame))))
                    {
                      inev.kind = SELECT_WINDOW_EVENT;
                      inev.frame_or_window = window;




reply via email to

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