* exwm-layout.el (exwm-layout--show): Resize the X window
if the minibuffer is active but with line height 1.
This commit is contained in:
parent
9e754e7e13
commit
38332925d0
1 changed files with 6 additions and 5 deletions
|
@ -60,11 +60,12 @@
|
||||||
(with-current-buffer (exwm--id->buffer id)
|
(with-current-buffer (exwm--id->buffer id)
|
||||||
(if (not exwm--floating-frame)
|
(if (not exwm--floating-frame)
|
||||||
(let ((relative-edges (window-inside-pixel-edges window)))
|
(let ((relative-edges (window-inside-pixel-edges window)))
|
||||||
(exwm-layout--resize-container id exwm--container
|
(exwm-layout--resize-container
|
||||||
(elt relative-edges 0)
|
id exwm--container
|
||||||
(elt relative-edges 1)
|
(elt relative-edges 0) (elt relative-edges 1) width height
|
||||||
width height
|
;; Do not resize the X window if the minibuffer resizes itself.
|
||||||
(active-minibuffer-window)))
|
(and (active-minibuffer-window)
|
||||||
|
(< 1 (window-height (active-minibuffer-window))))))
|
||||||
;; A floating X window is of the same size as the Emacs window,
|
;; A floating X window is of the same size as the Emacs window,
|
||||||
;; whereas its container is of the same size as the Emacs frame.
|
;; whereas its container is of the same size as the Emacs frame.
|
||||||
(setq frame-width (frame-pixel-width exwm--floating-frame)
|
(setq frame-width (frame-pixel-width exwm--floating-frame)
|
||||||
|
|
Loading…
Reference in a new issue