diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-03 10:32:48 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-03 17:59:04 -0400 |
commit | e220327223b8ee6dc29b4bc633fdd764a10587a1 (patch) | |
tree | 496daaebed390819d3650c40c5fadaf506b8ce78 | |
parent | 4dec0118072bc72fb202543bcb8f18aa69768625 (diff) |
xwm: Initialize X selection on X server startup
This way an already existing wayland selection will be available on
launch.
-rw-r--r-- | src/xwayland/selection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xwayland/selection.c b/src/xwayland/selection.c index 83ea2b3..f10032e 100644 --- a/src/xwayland/selection.c +++ b/src/xwayland/selection.c @@ -683,4 +683,6 @@ weston_wm_selection_init(struct weston_wm *wm) seat = &wm->server->compositor->seat->seat; wm->selection_listener.notify = weston_wm_set_selection; wl_signal_add(&seat->selection_signal, &wm->selection_listener); + + weston_wm_set_selection(&wm->selection_listener, seat); } |