emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/exwm 988f983 2/2: Fix `exwm-layout-enlarge-window' for


From: Chris Feng
Subject: [elpa] externals/exwm 988f983 2/2: Fix `exwm-layout-enlarge-window' for floating X windows
Date: Sun, 15 Sep 2019 09:40:07 -0400 (EDT)

branch: externals/exwm
commit 988f983233275b84ee3587af8a449a44d95c6752
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>

    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

[Prev in Thread] Current Thread [Next in Thread]