From aa86a022fa00edd0723ff48a6765ee7fbddefadc Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Fri, 29 Jan 2021 23:47:03 -0500 Subject: 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. --- include/xwayland/selection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/xwayland') 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 -- cgit v1.2.3