mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-19 08:56:27 -05:00
Rename wlr_primary_selection to wlr_gtk_primary_selection
This commit is contained in:
parent
c70b8f64b7
commit
811a4d997b
15 changed files with 133 additions and 133 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue