branch: externals/exwm
commit 24287f2691e31c4342f75ec12235a9f08cc2c8e5
Author: Adrián Medraño Calvo <[email protected]>
Commit: Adrián Medraño Calvo <[email protected]>
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.
---
exwm-workspace.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exwm-workspace.el b/exwm-workspace.el
index 3110889..8a59c36 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