mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	viewporter: hide wlr_viewport
This is an internal struct.
This commit is contained in:
		
							parent
							
								
									24c397dbf8
								
							
						
					
					
						commit
						0fe3b45361
					
				
					 2 changed files with 8 additions and 8 deletions
				
			
		| 
						 | 
					@ -32,14 +32,6 @@ struct wlr_viewporter {
 | 
				
			||||||
	struct wl_listener display_destroy;
 | 
						struct wl_listener display_destroy;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct wlr_viewport {
 | 
					 | 
				
			||||||
	struct wl_resource *resource;
 | 
					 | 
				
			||||||
	struct wlr_surface *surface;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	struct wl_listener surface_destroy;
 | 
					 | 
				
			||||||
	struct wl_listener surface_commit;
 | 
					 | 
				
			||||||
};
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
struct wlr_viewporter *wlr_viewporter_create(struct wl_display *display);
 | 
					struct wlr_viewporter *wlr_viewporter_create(struct wl_display *display);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,6 +8,14 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define VIEWPORTER_VERSION 1
 | 
					#define VIEWPORTER_VERSION 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					struct wlr_viewport {
 | 
				
			||||||
 | 
						struct wl_resource *resource;
 | 
				
			||||||
 | 
						struct wlr_surface *surface;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						struct wl_listener surface_destroy;
 | 
				
			||||||
 | 
						struct wl_listener surface_commit;
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const struct wp_viewport_interface viewport_impl;
 | 
					static const struct wp_viewport_interface viewport_impl;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Returns NULL if the viewport is inert
 | 
					// Returns NULL if the viewport is inert
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue