Merge pull request #756 from emersion/disambiguate-xdg-popup-geometry

xdg-shell-v6, xdg-shell: explain what popup geometry is
This commit is contained in:
Drew DeVault 2018-03-26 23:17:51 -04:00 committed by GitHub
commit 62e9ab0c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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