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…
	
	Add table
		Add a link
		
	
		Reference in a new issue