about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--exwm-layout.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-layout.el b/exwm-layout.el
index 9f1e0cf74838..6275b794bdad 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)))