diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2019-09-15T00·00+0000 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2019-09-15T00·00+0000 |
commit | 988f983233275b84ee3587af8a449a44d95c6752 (patch) | |
tree | 8e8d82f64b76e6301d2733192714b6935b3a5402 | |
parent | 16d643dd3b2b8e468dbbfb2ad03d7abe41fdf94d (diff) |
Fix `exwm-layout-enlarge-window' for floating X windows
* exwm-layout.el (exwm-layout-enlarge-window): Correct the height of outer frame.
-rw-r--r-- | exwm-layout.el | 2 |
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))) |