Handle and skip problematic per-application configurations
* exwm-manage.el (exwm-manage--get-configurations): Select the first usable configuration.
This commit is contained in:
		
							parent
							
								
									2d36241a10
								
							
						
					
					
						commit
						6593236366
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -242,7 +242,8 @@ criterion would be applied."
 | 
			
		|||
  (when (derived-mode-p 'exwm-mode)
 | 
			
		||||
    (dolist (i exwm-manage-configurations)
 | 
			
		||||
      (save-current-buffer
 | 
			
		||||
        (when (eval (car i) t)
 | 
			
		||||
        (when (with-demoted-errors "Problematic configuration: %S"
 | 
			
		||||
                (eval (car i) t))
 | 
			
		||||
          (cl-return-from exwm-manage--get-configurations (cdr i)))))))
 | 
			
		||||
 | 
			
		||||
(defun exwm-manage--manage-window (id)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue