about summary refs log tree commit diff
path: root/exwm.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-02-06T12·33+0800
committerChris Feng <chris.w.feng@gmail.com>2016-02-06T12·33+0800
commit97daba20ad22f05f2e4c1347ff86d6c957142a0a (patch)
tree4199a24a7a43d0bcd0f705c2a79cd137d3a5504d /exwm.el
parentbc80eefe3ff015f645b5ca2ff4a8838a48a72b96 (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.el')
-rw-r--r--exwm.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/exwm.el b/exwm.el
index 4335c814cf..720274fdcb 100644
--- a/exwm.el
+++ b/exwm.el
@@ -341,9 +341,7 @@
                                  :window id
                                  :data (vector
                                         xcb:Atom:_NET_WM_STATE_FULLSCREEN)))
-	      (xcb:flush exwm--connection)))
-          ;; Force update workspace settings.
-          (exwm-workspace-switch exwm-workspace-current-index t))
+	      (xcb:flush exwm--connection))))
         (when buffer                    ;ensure it's managed
           (with-current-buffer buffer
             ;; _NET_WM_STATE_MODAL