branch: externals/exwm
commit 4838f2b7fa2a8f3bdd2a8b2f779039a1b397e12b
Author: Chris Feng <[email protected]>
Commit: Chris Feng <[email protected]>
Make input focus revert to pointer root
* exwm-input.el (exwm-input--set-focus): Input focus should not revert to
parent (which was the Emacs frame) any more.
---
exwm-input.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/exwm-input.el b/exwm-input.el
index 0a50bef..943dd7d 100644
--- a/exwm-input.el
+++ b/exwm-input.el
@@ -73,7 +73,8 @@ It's updated in several occasions, and only used by
`exwm-input--set-focus'.")
(exwm--log "Focus on #x%x with SetInputFocus" id)
(xcb:+request exwm--connection
(make-instance 'xcb:SetInputFocus
- :revert-to xcb:InputFocus:Parent :focus id
+ :revert-to xcb:InputFocus:PointerRoot
+ :focus id
:time xcb:Time:CurrentTime)))
(xcb:flush exwm--connection))))