branch: externals/exwm
commit 988f983233275b84ee3587af8a449a44d95c6752
Author: Chris Feng <chris.w.f...@gmail.com>
Commit: Chris Feng <chris.w.f...@gmail.com>

    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)))

Reply via email to