summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2024-11-04 17:36:11 +0100
committerJonas Bernoulli <jonas@bernoul.li>2024-11-04 17:36:11 +0100
commit5478d4e6a73daa6bf0dcaad6cf4767ee4a1589ec (patch)
tree31ae52bf797033bdb27f33359027b62e3c8d1543 /lisp
parentbb103abb7f20736b6a5bdea7706d0bf850a8c7e1 (diff)
transient--show: Don't fix window height when using full frame height
Closes minad/vertico#532.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/transient.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/transient.el b/lisp/transient.el
index fe8fea8..560bf52 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3736,7 +3736,7 @@ have a history of their own.")
(run-hooks 'transient-setup-buffer-hook)
(when transient-force-fixed-pitch
(transient--force-fixed-pitch))
- (setq window-size-fixed t)
+ (setq window-size-fixed (if (window-full-height-p) 'width t))
(when (bound-and-true-p tab-line-format)
(setq tab-line-format nil))
(setq header-line-format nil)