diff options
Diffstat (limited to 'xwayland/selection/selection.c')
-rw-r--r-- | xwayland/selection/selection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xwayland/selection/selection.c b/xwayland/selection/selection.c index d9de5643..a29eeeae 100644 --- a/xwayland/selection/selection.c +++ b/xwayland/selection/selection.c @@ -5,7 +5,7 @@ #include <string.h> #include <unistd.h> #include <wlr/types/wlr_data_device.h> -#include <wlr/types/wlr_primary_selection.h> +#include <wlr/types/wlr_gtk_primary_selection.h> #include <wlr/util/log.h> #include <xcb/xfixes.h> #include "xwayland/xwm.h" @@ -231,7 +231,7 @@ void xwm_selection_finish(struct wlr_xwm *xwm) { if (xwm->seat->primary_selection_source && primary_selection_source_is_xwayland( xwm->seat->primary_selection_source)) { - wlr_seat_set_primary_selection(xwm->seat, NULL, + wlr_seat_set_gtk_primary_selection(xwm->seat, NULL, wl_display_next_serial(xwm->xwayland->wl_display)); } wlr_xwayland_set_seat(xwm->xwayland, NULL); @@ -274,7 +274,7 @@ static void seat_handle_primary_selection(struct wl_listener *listener, struct wlr_seat *seat = data; struct wlr_xwm *xwm = wl_container_of(listener, xwm, seat_primary_selection); - struct wlr_primary_selection_source *source = seat->primary_selection_source; + struct wlr_gtk_primary_selection_source *source = seat->primary_selection_source; if (source != NULL && primary_selection_source_is_xwayland( |