aboutsummaryrefslogtreecommitdiff
path: root/include/xwayland
diff options
context:
space:
mode:
authorTudor Brindus <me@tbrindus.ca>2021-01-29 23:47:03 -0500
committerSimon Ser <contact@emersion.fr>2021-01-31 19:17:04 +0100
commitaa86a022fa00edd0723ff48a6765ee7fbddefadc (patch)
treed2fa19bb41235ead07304b08109679a669674a64 /include/xwayland
parentb6ba595862a55e5e2899d4c38dd22a1f8ffcabaa (diff)
xwayland/selection: make xwm_selection_finish take a wlr_xwm_selection *
Previously it took a wlr_xwm *, which was a bit surprising in that it freed members of wlr_xwm *, not just its respective selections.
Diffstat (limited to 'include/xwayland')
-rw-r--r--include/xwayland/selection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xwayland/selection.h b/include/xwayland/selection.h
index 3f00fd54..43d59054 100644
--- a/include/xwayland/selection.h
+++ b/include/xwayland/selection.h
@@ -77,6 +77,6 @@ bool primary_selection_source_is_xwayland(
void xwm_seat_handle_start_drag(struct wlr_xwm *xwm, struct wlr_drag *drag);
void xwm_selection_init(struct wlr_xwm *xwm);
-void xwm_selection_finish(struct wlr_xwm *xwm);
+void xwm_selection_finish(struct wlr_xwm_selection *selection);
#endif