mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
gtk-primary-selection: use impl pattern for sources
This commit is contained in:
parent
cbe42d1006
commit
bfa7f4ee0d
4 changed files with 100 additions and 61 deletions
|
|
@ -198,7 +198,7 @@ static void xwm_selection_source_send(struct wlr_xwm_selection *selection,
|
|||
struct wlr_gtk_primary_selection_source *source =
|
||||
selection->xwm->seat->primary_selection_source;
|
||||
if (source != NULL) {
|
||||
source->send(source, mime_type, fd);
|
||||
wlr_gtk_primary_selection_source_send(source, mime_type, fd);
|
||||
return;
|
||||
}
|
||||
} else if (selection == &selection->xwm->dnd_selection) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue