mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 20:28:03 +02:00
xwm: Initialize X selection on X server startup
This way an already existing wayland selection will be available on launch.
This commit is contained in:
parent
4dec011807
commit
e220327223
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue