fix of window-contains-focus? for non existent windows
This commit is contained in:
		
							parent
							
								
									7a8a3c977d
								
							
						
					
					
						commit
						68e7a41372
					
				| 
						 | 
				
			
			@ -280,7 +280,7 @@
 | 
			
		|||
  (or (window-focused? dpy window)
 | 
			
		||||
      (any (lambda (child)
 | 
			
		||||
	     (window-contains-focus? dpy child))
 | 
			
		||||
	   (window-children dpy window))))
 | 
			
		||||
	   (or (window-children dpy window) '()))))
 | 
			
		||||
 | 
			
		||||
(define (take-focus dpy window time)
 | 
			
		||||
  ;; implements the TAKE_FOCUS protocol
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue