added a manager-focused message
This commit is contained in:
		
							parent
							
								
									1747f6cfa4
								
							
						
					
					
						commit
						cce8c3e349
					
				| 
						 | 
				
			
			@ -91,7 +91,12 @@
 | 
			
		|||
	  ((fit-client-window)
 | 
			
		||||
	   ;; client changed it's size ??
 | 
			
		||||
	   #t)
 | 
			
		||||
	  
 | 
			
		||||
 | 
			
		||||
	  ((manager-focused)
 | 
			
		||||
	   (let ((time (second msg))
 | 
			
		||||
		 (cc (wm-current-client wm)))
 | 
			
		||||
	     (if cc (wm-select-client wm cc time))))
 | 
			
		||||
 | 
			
		||||
	  ((update-client-state) #t)
 | 
			
		||||
 | 
			
		||||
	  ;; Shortcuts
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -85,6 +85,11 @@
 | 
			
		|||
			    'focused
 | 
			
		||||
			    'active)))
 | 
			
		||||
	     (set-titlebar-state! empty-titlebar state)))
 | 
			
		||||
 | 
			
		||||
	  ((manager-focused)
 | 
			
		||||
	   (let ((time (second msg))
 | 
			
		||||
		 (cc (wm-current-client wm)))
 | 
			
		||||
	     (if cc (wm-select-client wm cc time))))
 | 
			
		||||
	  
 | 
			
		||||
	  ((update-client-state)
 | 
			
		||||
	   (let* ((client (second msg))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue