mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-10-28 02:34:15 +00:00 
			
		
		
		
	remove mysterious code
Why would a surface that's not keyboard interactive get focused? Let's remove this for now and see if issues arise.
This commit is contained in:
		
							parent
							
								
									2d84c74657
								
							
						
					
					
						commit
						8e81c90f31
					
				
							
								
								
									
										7
									
								
								dwl.c
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								dwl.c
									
									
									
									
									
								
							| @ -600,13 +600,6 @@ arrangelayers(Monitor *m) | ||||
| 	if (topmost) | ||||
| 		wlr_seat_keyboard_notify_enter(seat, topmost->layer_surface->surface, | ||||
| 				kb->keycodes, kb->num_keycodes, &kb->modifiers); | ||||
| 	else if ( | ||||
| 		seat->keyboard_state.focused_surface | ||||
| 		&& wlr_surface_is_layer_surface(seat->keyboard_state.focused_surface) | ||||
| 		&& !wlr_layer_surface_v1_from_wlr_surface(seat->keyboard_state.focused_surface) | ||||
| 			->current.keyboard_interactive | ||||
| 	) | ||||
| 		focusclient(NULL, selclient(), 1); | ||||
| } | ||||
| 
 | ||||
| void | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Guido Cella
						Guido Cella