aboutsummaryrefslogtreecommitdiff
path: root/include/xwayland/selection.h
diff options
context:
space:
mode:
authorTudor Brindus <me@tbrindus.ca>2021-01-31 12:27:54 -0500
committerSimon Ser <contact@emersion.fr>2021-01-31 19:17:04 +0100
commitdd4c8aa45e7edba468d4ff2dee6fd6f8ce42810b (patch)
tree54431600a3c00fdc5de6b222198ed88cbf3740fd /include/xwayland/selection.h
parentb3d782f81877088da496006892f8522299e40ccb (diff)
xwayland/selection: make xwm_selection_init take a wlr_xwm_selection *
This makes it consistent with xwm_selection_finish.
Diffstat (limited to 'include/xwayland/selection.h')
-rw-r--r--include/xwayland/selection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xwayland/selection.h b/include/xwayland/selection.h
index 8b171e1e..1d8d3ec4 100644
--- a/include/xwayland/selection.h
+++ b/include/xwayland/selection.h
@@ -77,7 +77,8 @@ 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_init(struct wlr_xwm_selection *selection,
+ struct wlr_xwm *xwm, xcb_atom_t atom);
void xwm_selection_finish(struct wlr_xwm_selection *selection);
#endif