[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/exwm cb0093411b 1/2: Pick the correct line height for t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/exwm cb0093411b 1/2: Pick the correct line height for the systemtray |
Date: |
Tue, 22 Nov 2022 17:57:45 -0500 (EST) |
branch: externals/exwm
commit cb0093411b89d4da668957cb489885885a585448
Author: Steven Allen <steven@stebalien.com>
Commit: Adrián Medraño Calvo <adrian@medranocalvo.com>
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.
---
exwm-systemtray.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/exwm-systemtray.el b/exwm-systemtray.el
index 8bb5bcc3c8..0f19986624 100644
--- a/exwm-systemtray.el
+++ b/exwm-systemtray.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/exwm cb0093411b 1/2: Pick the correct line height for the systemtray,
ELPA Syncer <=