xwayland/selection: make xwm_selection_init take a wlr_xwm_selection *

This makes it consistent with xwm_selection_finish.
This commit is contained in:
Tudor Brindus 2021-01-31 12:27:54 -05:00 committed by Simon Ser
parent b3d782f818
commit dd4c8aa45e
3 changed files with 55 additions and 57 deletions

View file

@ -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