From dd4c8aa45e7edba468d4ff2dee6fd6f8ce42810b Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Sun, 31 Jan 2021 12:27:54 -0500 Subject: xwayland/selection: make xwm_selection_init take a wlr_xwm_selection * This makes it consistent with xwm_selection_finish. --- include/xwayland/selection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/xwayland/selection.h') 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 -- cgit v1.2.3