From 42996da86d2e4401cdc8565fcceb30f54125d6ca Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Tue, 16 Jul 2024 11:09:34 +0200 Subject: [PATCH] Fix app shortcuts in fullscreen --- exwm-layout.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exwm-layout.el b/exwm-layout.el index 5adb54a..eb3977d 100644 --- a/exwm-layout.el +++ b/exwm-layout.el @@ -211,7 +211,8 @@ See variable `exwm-layout-auto-iconify'." (exwm-layout--set-ewmh-state exwm--id) (xcb:flush exwm--connection) (set-window-dedicated-p (get-buffer-window) t) - (exwm-input--release-keyboard exwm--id))) + (when (eq 'char-mode exwm--selected-input-mode) + (exwm-input--release-keyboard exwm--id)))) ;;;###autoload (cl-defun exwm-layout-unset-fullscreen (&optional id)