diff options
author | Isaac Freund <ifreund@ifreund.xyz> | 2020-10-16 12:41:32 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-10-16 12:49:37 +0200 |
commit | 616f06c25c06ec04430c4b8f0ac15a40325cd177 (patch) | |
tree | cb02c19277fc722f28773c4efcd21e72f7a5c02e /include | |
parent | 99f3c643bf9407c4e0b3eb901b1e44588ae11357 (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_xdg_shell.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index 45c5aee0..0b9167d2 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -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; |