diff options
Diffstat (limited to 'exwm-input.el')
-rw-r--r-- | exwm-input.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-input.el b/exwm-input.el index 2c65116aa33c..3f9a305012d3 100644 --- a/exwm-input.el +++ b/exwm-input.el @@ -1215,7 +1215,7 @@ One use is to access the keymap bound to KEYS (as prefix keys) in char-mode." (when exwm-input--update-focus-timer (cancel-timer exwm-input--update-focus-timer)) ;; Make input focus working even without a WM. - (when exwm--connection + (when (slot-value exwm--connection 'connected) (xcb:+request exwm--connection (make-instance 'xcb:SetInputFocus :revert-to xcb:InputFocus:PointerRoot |