about summary refs log tree commit diff
path: root/exwm-workspace.el
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2018-10-08T12·00+0000
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2018-10-08T12·00+0000
commit24287f2691e31c4342f75ec12235a9f08cc2c8e5 (patch)
tree33f7fa2487a2585f03c805552763b67e3bb5f231 /exwm-workspace.el
parent472f7cb82b67b98843f10c12e6bda9b8ae7262bc (diff)
Reduce flicker when switching workspaces
* exwm-workspace.el (exwm-workspace-switch): Hide the old
workspace after having shown the new one when switching to avoid
flicker.
Diffstat (limited to 'exwm-workspace.el')
-rw-r--r--exwm-workspace.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-workspace.el b/exwm-workspace.el
index 31108892fe75..8a59c36b54db 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -552,8 +552,8 @@ for internal use only."
          ((not active-old)
           (exwm-workspace--set-active frame t))
          ((equal output-old output-new)
-          (exwm-workspace--set-active old-frame nil)
           (exwm-workspace--set-active frame t)
+          (exwm-workspace--set-active old-frame nil)
           (setq workspaces-to-hide (list old-frame)))
          (active-new)
          (t