mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 13:07:59 +01:00
Update systemtray when initializing
* exwm-systemtray.el (exwm-systemtray--init): Systemtray is not placed correctly when there's a panel launched before EXWM.
This commit is contained in:
parent
46dfaeb031
commit
7bc4ea5a6e
1 changed files with 4 additions and 1 deletions
|
@ -472,7 +472,10 @@ You shall use the default value if using auto-hide minibuffer.")
|
|||
(add-hook 'exwm-workspace--update-workareas-hook
|
||||
#'exwm-systemtray--on-struts-update)
|
||||
(when (boundp 'exwm-randr-refresh-hook)
|
||||
(add-hook 'exwm-randr-refresh-hook #'exwm-systemtray--on-randr-refresh)))
|
||||
(add-hook 'exwm-randr-refresh-hook #'exwm-systemtray--on-randr-refresh))
|
||||
;; The struts can be updated already.
|
||||
(when exwm-workspace--workareas
|
||||
(exwm-systemtray--on-struts-update)))
|
||||
|
||||
(defun exwm-systemtray--exit ()
|
||||
"Exit the systemtray module."
|
||||
|
|
Loading…
Reference in a new issue