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.
master
Isaac Freund 4 years ago committed by Simon Ser
parent 99f3c643bf
commit 616f06c25c

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

Loading…
Cancel
Save