about summary refs log tree commit diff
path: root/exwm-layout.el
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2018-10-24T12·00+0000
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2018-10-24T12·00+0000
commitdbccda22a6b6e32a9e547954ec660ad8e80b7416 (patch)
tree04f11fab01f26a1fe7ad0351299b0254870c06f6 /exwm-layout.el
parent01b0b54c04d043c47184019c75cc668da2427aa8 (diff)
parenteb91ee2c77787bbeb1df74f0237f5087d031217f (diff)
Merge branch 'medranocalvo/fix-input-mode-after-fullscreen' into externals/exwm
Diffstat (limited to 'exwm-layout.el')
-rw-r--r--exwm-layout.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/exwm-layout.el b/exwm-layout.el
index 90988faae07f..bee6901f8291 100644
--- a/exwm-layout.el
+++ b/exwm-layout.el
@@ -45,7 +45,6 @@
 (defvar exwm-layout--timer nil "Timer used to track echo area changes.")
 
 (defvar exwm-workspace--current)
-(declare-function exwm-input--current-input-mode "exwm-input.el")
 (declare-function exwm-input--release-keyboard "exwm-input.el")
 (declare-function exwm-input--grab-keyboard "exwm-input.el")
 (declare-function exwm-input-grab-keyboard "exwm-input.el")
@@ -200,7 +199,7 @@
         (make-instance 'xcb:ewmh:set-_NET_WM_STATE :window exwm--id :data []))
     (xcb:flush exwm--connection)
     (set-window-dedicated-p (get-buffer-window) nil)
-    (when (eq 'line-mode (exwm-input--current-input-mode))
+    (when (eq 'line-mode exwm--selected-input-mode)
       (exwm-input--grab-keyboard exwm--id))))
 
 ;;;###autoload