mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	
							parent
							
								
									b2d478a418
								
							
						
					
					
						commit
						4d7ff3cb48
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -39,9 +39,11 @@ static void handle_request_configure(struct wl_listener *listener, void *data) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void activate(struct roots_view *view, bool active) {
 | 
					static void activate(struct roots_view *view, bool active) {
 | 
				
			||||||
 | 
						if (active) {
 | 
				
			||||||
		wlr_xwayland_surface_activate(view->desktop->xwayland,
 | 
							wlr_xwayland_surface_activate(view->desktop->xwayland,
 | 
				
			||||||
			view->xwayland_surface);
 | 
								view->xwayland_surface);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void handle_xwayland_surface(struct wl_listener *listener, void *data) {
 | 
					void handle_xwayland_surface(struct wl_listener *listener, void *data) {
 | 
				
			||||||
	struct roots_desktop *desktop =
 | 
						struct roots_desktop *desktop =
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue