Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion exwm-layout.el
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
"Non-nil to automatically iconify unused X windows when possible."
:type 'boolean)

(defcustom exwm-layout-fullscreen-grab-keyboard t
"Non-nil to make X windows in fullscreen mode always intercept all key presses."
:type 'boolean)

(defcustom exwm-layout-show-all-buffers nil
"Non-nil to allow switching to buffers on other workspaces."
:type 'boolean)
Expand Down Expand Up @@ -212,7 +216,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)))
(if exwm-layout-fullscreen-grab-keyboard
(exwm-input--release-keyboard exwm--id))))

(cl-defun exwm-layout-unset-fullscreen (&optional id)
"Restore X window ID from fullscreen state."
Expand Down