aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-10-16 12:41:32 +0200
committerSimon Ser <contact@emersion.fr>2020-10-16 12:49:37 +0200
commit616f06c25c06ec04430c4b8f0ac15a40325cd177 (patch)
treecb02c19277fc722f28773c4efcd21e72f7a5c02e /include/wlr
parent99f3c643bf9407c4e0b3eb901b1e44588ae11357 (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/wlr')
-rw-r--r--include/wlr/types/wlr_xdg_shell.h2
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;