mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 21:17:59 +01:00
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.
This commit is contained in:
parent
35493faca6
commit
4838f2b7fa
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
(exwm--log "Focus on #x%x with SetInputFocus" id)
|
||||||
(xcb:+request exwm--connection
|
(xcb:+request exwm--connection
|
||||||
(make-instance 'xcb:SetInputFocus
|
(make-instance 'xcb:SetInputFocus
|
||||||
:revert-to xcb:InputFocus:Parent :focus id
|
:revert-to xcb:InputFocus:PointerRoot
|
||||||
|
:focus id
|
||||||
:time xcb:Time:CurrentTime)))
|
:time xcb:Time:CurrentTime)))
|
||||||
(xcb:flush exwm--connection))))
|
(xcb:flush exwm--connection))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue