Fix multi-monitor/fullscreen issues
* exwm-randr.el (exwm-randr--refresh): Correct the _NET_WORKAREA property. Reconfigure the current workspace when screen changes. (exwm-randr--init): Run `exwm-randr-screen-change-hook' to take into account already attached monitor(s), * exwm.el (exwm--on-ClientMessage): Reconfigure the current workspace when it's fullscreen.
This commit is contained in:
parent
0e4055d339
commit
bc80eefe3f
2 changed files with 17 additions and 4 deletions
4
exwm.el
4
exwm.el
|
|
@ -341,7 +341,9 @@
|
|||
:window id
|
||||
:data (vector
|
||||
xcb:Atom:_NET_WM_STATE_FULLSCREEN)))
|
||||
(xcb:flush exwm--connection))))
|
||||
(xcb:flush exwm--connection)))
|
||||
;; Force update workspace settings.
|
||||
(exwm-workspace-switch exwm-workspace-current-index t))
|
||||
(when buffer ;ensure it's managed
|
||||
(with-current-buffer buffer
|
||||
;; _NET_WM_STATE_MODAL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue