From 4838f2b7fa2a8f3bdd2a8b2f779039a1b397e12b Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Tue, 23 Feb 2016 19:04:51 +0800 Subject: 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 file changed, 2 insertions(+), 1 deletion(-) (limited to 'exwm-input.el') diff --git a/exwm-input.el b/exwm-input.el index 0a50bef26203..943dd7da831f 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)))) -- cgit 1.4.1