mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-10-31 20:14:20 +00:00 
			
		
		
		
	feat: focus empty monitor when clicked
This commit is contained in:
		
							parent
							
								
									2b4893a0ad
								
							
						
					
					
						commit
						dc2399d105
					
				
							
								
								
									
										1
									
								
								dwl.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								dwl.c
									
									
									
									
									
								
							| @ -607,6 +607,7 @@ buttonpress(struct wl_listener *listener, void *data) | |||||||
| 	switch (event->state) { | 	switch (event->state) { | ||||||
| 	case WLR_BUTTON_PRESSED: | 	case WLR_BUTTON_PRESSED: | ||||||
| 		cursor_mode = CurPressed; | 		cursor_mode = CurPressed; | ||||||
|  | 		selmon = xytomon(cursor->x, cursor->y); | ||||||
| 		if (locked) | 		if (locked) | ||||||
| 			break; | 			break; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Rutherther
						Rutherther