* 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.
This commit is contained in:
Chris Feng 2016-02-06 20:33:56 +08:00
parent bc80eefe3f
commit 97daba20ad
4 changed files with 37 additions and 27 deletions

View file

@ -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))))