mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
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.
This commit is contained in:
parent
b6ba595862
commit
aa86a022fa
3 changed files with 40 additions and 45 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue