xdg_positioner: remove unused field

The resource field of wlr_xdg_positioner is never initialized or
accessed within wlroots. The wl_resource for this interface is stored
in the wlr_xdg_positioner_resource struct.
This commit is contained in:
Isaac Freund 2020-10-16 12:41:32 +02:00 committed by Simon Ser
parent 99f3c643bf
commit 616f06c25c

View file

@ -48,8 +48,6 @@ struct wlr_xdg_client {
}; };
struct wlr_xdg_positioner { struct wlr_xdg_positioner {
struct wl_resource *resource;
struct wlr_box anchor_rect; struct wlr_box anchor_rect;
enum xdg_positioner_anchor anchor; enum xdg_positioner_anchor anchor;
enum xdg_positioner_gravity gravity; enum xdg_positioner_gravity gravity;