mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	xdg-shell: fix create_xdg_popup() param type
This commit is contained in:
		
							parent
							
								
									05dd990e43
								
							
						
					
					
						commit
						ee52c32915
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -29,7 +29,7 @@ struct wlr_xdg_positioner_resource *get_xdg_positioner_from_resource(
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void create_xdg_popup(struct wlr_xdg_surface *xdg_surface,
 | 
					void create_xdg_popup(struct wlr_xdg_surface *xdg_surface,
 | 
				
			||||||
	struct wlr_xdg_surface *parent,
 | 
						struct wlr_xdg_surface *parent,
 | 
				
			||||||
	struct wlr_xdg_positioner_resource *positioner, int32_t id);
 | 
						struct wlr_xdg_positioner_resource *positioner, uint32_t id);
 | 
				
			||||||
void handle_xdg_surface_popup_committed(struct wlr_xdg_surface *surface);
 | 
					void handle_xdg_surface_popup_committed(struct wlr_xdg_surface *surface);
 | 
				
			||||||
struct wlr_xdg_popup_grab *get_xdg_shell_popup_grab_from_seat(
 | 
					struct wlr_xdg_popup_grab *get_xdg_shell_popup_grab_from_seat(
 | 
				
			||||||
	struct wlr_xdg_shell *shell, struct wlr_seat *seat);
 | 
						struct wlr_xdg_shell *shell, struct wlr_seat *seat);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -299,7 +299,7 @@ const struct wlr_surface_role xdg_popup_surface_role = {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void create_xdg_popup(struct wlr_xdg_surface *xdg_surface,
 | 
					void create_xdg_popup(struct wlr_xdg_surface *xdg_surface,
 | 
				
			||||||
		struct wlr_xdg_surface *parent,
 | 
							struct wlr_xdg_surface *parent,
 | 
				
			||||||
		struct wlr_xdg_positioner_resource *positioner, int32_t id) {
 | 
							struct wlr_xdg_positioner_resource *positioner, uint32_t id) {
 | 
				
			||||||
	if (positioner->attrs.size.width == 0 ||
 | 
						if (positioner->attrs.size.width == 0 ||
 | 
				
			||||||
			positioner->attrs.anchor_rect.width == 0) {
 | 
								positioner->attrs.anchor_rect.width == 0) {
 | 
				
			||||||
		wl_resource_post_error(xdg_surface->resource,
 | 
							wl_resource_post_error(xdg_surface->resource,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue