Refresh layout after activating/deactivating workspaces
* exwm-workspace.el (exwm-workspace--set-active): Refresh layout after activating or deactivating workspaces. * exwm-layout.el (exwm-layout--refresh-workspace): Hide X windows on inactive workspaces.
This commit is contained in:
parent
2b1ed2ce70
commit
5f6b866cfe
2 changed files with 7 additions and 5 deletions
|
|
@ -379,8 +379,9 @@ NIL if FRAME is not a workspace"
|
|||
(set-frame-parameter frame 'exwm-active active)
|
||||
(if active
|
||||
(exwm-workspace--set-fullscreen frame)
|
||||
(exwm--set-geometry (frame-parameter frame 'exwm-container) nil nil 1 1)
|
||||
(xcb:flush exwm--connection)))
|
||||
(exwm--set-geometry (frame-parameter frame 'exwm-container) nil nil 1 1))
|
||||
(exwm-layout--refresh frame)
|
||||
(xcb:flush exwm--connection))
|
||||
|
||||
(defun exwm-workspace--active-p (frame)
|
||||
"Return non-nil if FRAME is active"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue