diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2016-02-06T12·33+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2016-02-06T12·33+0800 |
commit | 97daba20ad22f05f2e4c1347ff86d6c957142a0a (patch) | |
tree | 4199a24a7a43d0bcd0f705c2a79cd137d3a5504d /exwm-layout.el | |
parent | bc80eefe3ff015f645b5ca2ff4a8838a48a72b96 (diff) |
Improve bc80eefe
* exwm-layout.el (exwm-layout--set-frame-fullscreen): * exwm-randr.el (exwm-randr--refresh): * exwm-workspace.el (exwm-workspace--resize-minibuffer): (exwm-workspace-switch): * exwm.el (exwm--on-ClientMessage): Calling `exwm-workspace-switch' in bc80eefe does not work correctly sometimes. This commit improves it by directly specify the geometry info rather than getting it from Emacs frame.
Diffstat (limited to 'exwm-layout.el')
-rw-r--r-- | exwm-layout.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/exwm-layout.el b/exwm-layout.el index 316bf62a7485..0dc5e1ac0285 100644 --- a/exwm-layout.el +++ b/exwm-layout.el @@ -203,6 +203,8 @@ (id (frame-parameter frame 'exwm-outer-id)) (workspace (frame-parameter frame 'exwm-workspace))) (with-slots (x y width height) geometry + (when (eq frame exwm-workspace--current) + (exwm-workspace--resize-minibuffer width height)) (exwm-layout--resize-container id workspace x y width height) (xcb:flush exwm--connection)))) |