mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-27 06:48:00 +01:00
Fix `exwm-layout-enlarge-window' for floating X windows
* exwm-layout.el (exwm-layout-enlarge-window): Correct the height of outer frame.
This commit is contained in:
parent
16d643dd3b
commit
988f983233
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ windows."
|
|||
:width width))
|
||||
(xcb:flush exwm--connection))))
|
||||
(t
|
||||
(let* ((height (frame-pixel-height))
|
||||
(let* ((height (+ (frame-pixel-height) exwm-workspace--frame-y-offset))
|
||||
(edges (window-inside-pixel-edges))
|
||||
(inner-height (- (elt edges 3) (elt edges 1)))
|
||||
(margin (- height inner-height)))
|
||||
|
|
Loading…
Reference in a new issue