mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04: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
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue