mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	xdg-shell: add wlr_xdg_surface_ping()
This commit is contained in:
		
							parent
							
								
									8e2b3ea89a
								
							
						
					
					
						commit
						aa0b2b8e9e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,5 +1,4 @@
 | 
				
			||||||
#include <assert.h>
 | 
					#include <assert.h>
 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "labwc.h"
 | 
					#include "labwc.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct xdg_deco {
 | 
					struct xdg_deco {
 | 
				
			||||||
| 
						 | 
					@ -224,6 +223,7 @@ xdg_surface_new(struct wl_listener *listener, void *data)
 | 
				
			||||||
	if (xdg_surface->role != WLR_XDG_SURFACE_ROLE_TOPLEVEL) {
 | 
						if (xdg_surface->role != WLR_XDG_SURFACE_ROLE_TOPLEVEL) {
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						wlr_xdg_surface_ping(xdg_surface);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	struct view *view = calloc(1, sizeof(struct view));
 | 
						struct view *view = calloc(1, sizeof(struct view));
 | 
				
			||||||
	view->server = server;
 | 
						view->server = server;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue