mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	rootston: send enter event for layer surfaces
This commit is contained in:
		
							parent
							
								
									36e94b2a8e
								
							
						
					
					
						commit
						f7539b9d14
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -281,6 +281,7 @@ static void handle_map(struct wl_listener *listener, void *data) {
 | 
				
			||||||
	struct wlr_output *wlr_output = layer_surface->output;
 | 
						struct wlr_output *wlr_output = layer_surface->output;
 | 
				
			||||||
	struct roots_output *output = wlr_output->data;
 | 
						struct roots_output *output = wlr_output->data;
 | 
				
			||||||
	wlr_output_damage_add_box(output->damage, &layer->geo);
 | 
						wlr_output_damage_add_box(output->damage, &layer->geo);
 | 
				
			||||||
 | 
						wlr_surface_send_enter(layer_surface->surface, wlr_output);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void handle_unmap(struct wl_listener *listener, void *data) {
 | 
					static void handle_unmap(struct wl_listener *listener, void *data) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue