From 988f983233275b84ee3587af8a449a44d95c6752 Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Sun, 15 Sep 2019 00:00:00 +0000 Subject: [PATCH] Fix `exwm-layout-enlarge-window' for floating X windows * exwm-layout.el (exwm-layout-enlarge-window): Correct the height of outer frame. --- exwm-layout.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exwm-layout.el b/exwm-layout.el index 9f1e0cf..6275b79 100644 --- a/exwm-layout.el +++ b/exwm-layout.el @@ -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)))