mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-23 19:47:58 +01:00
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:
parent
472f7cb82b
commit
24287f2691
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue