emacs-diffs
[Top][All Lists]
Advanced

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

master 4f987e1: Fix last change


From: Po Lu
Subject: master 4f987e1: Fix last change
Date: Sun, 12 Dec 2021 01:14:38 -0500 (EST)

branch: master
commit 4f987e189d129523a93b21427c24f761e7fb4c00
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix last change
    
    * src/xterm.c (x_detect_focus_change): Test against
    FOCUS_EXPLICIT.
---
 src/xterm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xterm.c b/src/xterm.c
index 676de57..3d9dce2 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5148,7 +5148,7 @@ x_detect_focus_change (struct x_display_info *dpyinfo, 
struct frame *frame,
                 || xi_event->evtype == XI_Leave)
                && (((XIEnterEvent *) xi_event)->detail
                    != XINotifyInferior)
-               && (focus_state & FOCUS_EXPLICIT))
+               && !(focus_state & FOCUS_EXPLICIT))
               || xi_event->evtype == XI_FocusIn
               || xi_event->evtype == XI_FocusOut)))
          x_focus_changed ((xi_event->evtype == XI_Enter



reply via email to

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