mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-10-31 20:14:20 +00:00 
			
		
		
		
	set withdrawn state for xwayland invisible clients
This commit is contained in:
		
							parent
							
								
									b4a3020860
								
							
						
					
					
						commit
						9d2a6225b0
					
				
							
								
								
									
										4
									
								
								client.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								client.h
									
									
									
									
									
								
							| @ -350,8 +350,10 @@ static inline void | |||||||
| client_set_suspended(Client *c, int suspended) | client_set_suspended(Client *c, int suspended) | ||||||
| { | { | ||||||
| #ifdef XWAYLAND | #ifdef XWAYLAND | ||||||
| 	if (client_is_x11(c)) | 	if (client_is_x11(c)) { | ||||||
|  | 		wlr_xwayland_surface_set_withdrawn(c->surface.xwayland, suspended); | ||||||
| 		return; | 		return; | ||||||
|  | 	} | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| 	wlr_xdg_toplevel_set_suspended(c->surface.xdg->toplevel, suspended); | 	wlr_xdg_toplevel_set_suspended(c->surface.xdg->toplevel, suspended); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Leonardo Hernández Hernández
						Leonardo Hernández Hernández