projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f258a31
)
x11: Clear X11 selection when we can't bridge the data type
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 29 Dec 2011 19:16:42 +0000
(14:16 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 29 Dec 2011 19:16:42 +0000
(14:16 -0500)
compositor/xserver-launcher.c
patch
|
blob
|
history
diff --git
a/compositor/xserver-launcher.c
b/compositor/xserver-launcher.c
index
35e5294
..
6cc86ed
100644
(file)
--- a/
compositor/xserver-launcher.c
+++ b/
compositor/xserver-launcher.c
@@
-505,6
+505,11
@@
wlsc_xserver_set_selection(struct wlsc_input_device *device)
wm->selection_window,
wm->atom.clipboard,
XCB_TIME_CURRENT_TIME);
+ } else {
+ xcb_set_selection_owner(wm->conn,
+ XCB_ATOM_NONE,
+ wm->atom.clipboard,
+ XCB_TIME_CURRENT_TIME);
}
}