aboutsummaryrefslogtreecommitdiff
path: root/xwayland/selection/outgoing.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-11-26 18:36:23 -0500
committerGitHub <noreply@github.com>2018-11-26 18:36:23 -0500
commit05bb44078667a11216611a8fbe87c5fe69e117f8 (patch)
tree93da8b84405a5f4c12ecced435a3df4d44184200 /xwayland/selection/outgoing.c
parenta2b8d47ff232fe8519953d60aa32dc72faff6044 (diff)
parent811a4d997b2e00c7cdc3851ccc55a6f52d79126c (diff)
Merge pull request #1387 from emersion/rename-gtk-primary-selection
Rename wlr_primary_selection to wlr_gtk_primary_selection
Diffstat (limited to 'xwayland/selection/outgoing.c')
-rw-r--r--xwayland/selection/outgoing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xwayland/selection/outgoing.c b/xwayland/selection/outgoing.c
index 0c095d25..b658ab52 100644
--- a/xwayland/selection/outgoing.c
+++ b/xwayland/selection/outgoing.c
@@ -4,7 +4,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"
@@ -195,7 +195,7 @@ static void xwm_selection_source_send(struct wlr_xwm_selection *selection,
return;
}
} else if (selection == &selection->xwm->primary_selection) {
- struct wlr_primary_selection_source *source =
+ struct wlr_gtk_primary_selection_source *source =
selection->xwm->seat->primary_selection_source;
if (source != NULL) {
source->send(source, mime_type, fd);
@@ -231,7 +231,7 @@ static struct wl_array *xwm_selection_source_get_mime_types(
return &source->mime_types;
}
} else if (selection == &selection->xwm->primary_selection) {
- struct wlr_primary_selection_source *source =
+ struct wlr_gtk_primary_selection_source *source =
selection->xwm->seat->primary_selection_source;
if (source != NULL) {
return &source->mime_types;