projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dec011
)
xwm: Initialize X selection on X server startup
author
Kristian Høgsberg
<krh@bitplanet.net>
Sun, 3 Jun 2012 14:32:48 +0000
(10:32 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Sun, 3 Jun 2012 21:59:04 +0000
(17:59 -0400)
This way an already existing wayland selection will be available on
launch.
src/xwayland/selection.c
patch
|
blob
|
history
diff --git
a/src/xwayland/selection.c
b/src/xwayland/selection.c
index
83ea2b3
..
f10032e
100644
(file)
--- 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);
}