aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwayland.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-28 16:37:35 +0100
committeremersion <contact@emersion.fr>2018-11-29 19:40:28 +0100
commit9f0720c03abcc600b6156b52e367d7cafcf57644 (patch)
tree84c4adf8907e0a2a188edb205b07c72f691acbb9 /xwayland/xwayland.c
parent658b5905671ec229e44986e82af2666c40435d43 (diff)
primary-selection: introduce wlr_primary_selection_source
This is a common interface that can be used for all primary selection protocols, as discussed in [1]. A new function wlr_seat_set_primary_selection is added to set the primary selection for all protocols. The seat now owns again the source, and resets the selection to NULL when destroyed. [1]: https://github.com/swaywm/wlroots/issues/1367#issuecomment-442403454
Diffstat (limited to 'xwayland/xwayland.c')
-rw-r--r--xwayland/xwayland.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c
index bbdee1a7..e6d3502c 100644
--- a/xwayland/xwayland.c
+++ b/xwayland/xwayland.c
@@ -505,9 +505,3 @@ void wlr_xwayland_set_seat(struct wlr_xwayland *xwayland,
xwayland->seat_destroy.notify = xwayland_handle_seat_destroy;
wl_signal_add(&seat->events.destroy, &xwayland->seat_destroy);
}
-
-void wlr_xwayland_set_gtk_primary_selection_device_manager(
- struct wlr_xwayland *xwayland,
- struct wlr_gtk_primary_selection_device_manager *manager) {
- xwayland->gtk_primary_selection = manager;
-}