xdg-shell-v6, xdg-shell: explain what popup geometry is

This commit is contained in:
emersion 2018-03-26 22:11:41 -04:00
parent 891610081f
commit a918ec877e
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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