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.
This commit is contained in:
Adrián Medraño Calvo 2018-10-08 12:00:00 +00:00
parent 472f7cb82b
commit 24287f2691

View file

@ -552,8 +552,8 @@ for internal use only."
((not active-old) ((not active-old)
(exwm-workspace--set-active frame t)) (exwm-workspace--set-active frame t))
((equal output-old output-new) ((equal output-old output-new)
(exwm-workspace--set-active old-frame nil)
(exwm-workspace--set-active frame t) (exwm-workspace--set-active frame t)
(exwm-workspace--set-active old-frame nil)
(setq workspaces-to-hide (list old-frame))) (setq workspaces-to-hide (list old-frame)))
(active-new) (active-new)
(t (t