Skip to content

Commit

Permalink
Reduce flicker when switching workspaces
Browse files Browse the repository at this point in the history
* exwm-workspace.el (exwm-workspace-switch): Hide the old
workspace after having shown the new one when switching to avoid
flicker.
  • Loading branch information
medranocalvo committed Oct 8, 2018
1 parent 472f7cb commit 24287f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exwm-workspace.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24287f2

Please sign in to comment.