mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-27 04:58:00 +01:00
Pick the correct line height for the systemtray
* exwm-systemtray.el (exwm-systemtray--init): Use the line-height of the minibuffer-window, not that of the selected one.
This commit is contained in:
parent
e9cc0962cc
commit
cb0093411b
1 changed files with 2 additions and 1 deletions
|
@ -487,7 +487,8 @@ indicate how to support actual transparency."
|
|||
(cl-assert (not exwm-systemtray--embedder-window))
|
||||
(unless exwm-systemtray-height
|
||||
(setq exwm-systemtray-height (max exwm-systemtray--icon-min-size
|
||||
(line-pixel-height))))
|
||||
(with-selected-window (minibuffer-window)
|
||||
(line-pixel-height)))))
|
||||
;; Create a new connection.
|
||||
(setq exwm-systemtray--connection (xcb:connect))
|
||||
(set-process-query-on-exit-flag (slot-value exwm-systemtray--connection
|
||||
|
|
Loading…
Reference in a new issue