mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-29 16:05:59 +01:00
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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Reference in a new issue