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:
parent
99f3c643bf
commit
616f06c25c
|
@ -48,8 +48,6 @@ struct wlr_xdg_client {
|
|||
};
|
||||
|
||||
struct wlr_xdg_positioner {
|
||||
struct wl_resource *resource;
|
||||
|
||||
struct wlr_box anchor_rect;
|
||||
enum xdg_positioner_anchor anchor;
|
||||
enum xdg_positioner_gravity gravity;
|
||||
|
|
Loading…
Reference in New Issue