mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	xdg-shell-v6, xdg-shell: explain what popup geometry is
This commit is contained in:
		
							parent
							
								
									891610081f
								
							
						
					
					
						commit
						a918ec877e
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -40,6 +40,9 @@ struct wlr_xdg_popup {
 | 
				
			||||||
	bool committed;
 | 
						bool committed;
 | 
				
			||||||
	struct wlr_xdg_surface *parent;
 | 
						struct wlr_xdg_surface *parent;
 | 
				
			||||||
	struct wlr_seat *seat;
 | 
						struct wlr_seat *seat;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Position of the popup relative to the upper left corner of the window
 | 
				
			||||||
 | 
						// geometry of the parent surface
 | 
				
			||||||
	struct wlr_box geometry;
 | 
						struct wlr_box geometry;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	struct wl_list grab_link; // wlr_xdg_popup_grab::popups
 | 
						struct wl_list grab_link; // wlr_xdg_popup_grab::popups
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -40,6 +40,9 @@ struct wlr_xdg_popup_v6 {
 | 
				
			||||||
	bool committed;
 | 
						bool committed;
 | 
				
			||||||
	struct wlr_xdg_surface_v6 *parent;
 | 
						struct wlr_xdg_surface_v6 *parent;
 | 
				
			||||||
	struct wlr_seat *seat;
 | 
						struct wlr_seat *seat;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Position of the popup relative to the upper left corner of the window
 | 
				
			||||||
 | 
						// geometry of the parent surface
 | 
				
			||||||
	struct wlr_box geometry;
 | 
						struct wlr_box geometry;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	struct wl_list grab_link; // wlr_xdg_popup_grab_v6::popups
 | 
						struct wl_list grab_link; // wlr_xdg_popup_grab_v6::popups
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue