From 97daba20ad22f05f2e4c1347ff86d6c957142a0a Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Sat, 6 Feb 2016 20:33:56 +0800 Subject: 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. --- exwm-layout.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'exwm-layout.el') 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)))) -- cgit 1.4.1