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:
Chris Feng 2016-02-23 19:04:51 +08:00
parent 35493faca6
commit 4838f2b7fa

View file

@ -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))))