about summary refs log tree commit diff
path: root/exwm-input.el
diff options
context:
space:
mode:
Diffstat (limited to 'exwm-input.el')
-rw-r--r--exwm-input.el3
1 files changed, 2 insertions, 1 deletions
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))))