projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e948ab
)
Fix last change
author
Po Lu
<luangruo@yahoo.com>
Sun, 12 Dec 2021 06:13:05 +0000
(14:13 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 12 Dec 2021 06:14:23 +0000
(14:14 +0800)
* src/xterm.c (x_detect_focus_change): Test against
FOCUS_EXPLICIT.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 676de57455c6a82987cbeef8891ea2e3bfdc5167..3d9dce27e8236d8e74137df1c7edeb5c1467b4d9 100644
(file)
--- 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