Hi Yichao,<br><br><div class="gmail_quote">On Sat, Mar 9, 2013 at 9:47 PM, Yichao Yu <span dir="ltr"><<a href="mailto:yyc1992@gmail.com" target="_blank">yyc1992@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
In X11 there are CLIPBOARD and PRIMARY selection each correspond to<br>
the current clipboard and selected content and applications can<br>
monitor the change of them using XFixes. In wayland, I have found<br>
wl_data_device which I suppose should do the similar thing. The<br>
question is, since there is only one wl_data_device::selection event,<br>
is it possible to get current selected data as well as clipboard<br>
content in wayland (or in another word is it possible to have X11's<br>
handy middle button paste)? I also found the only weston client that<br>
uses clipboard (weston-terminal) use it in a weird way, should this be<br>
considered a bug and should the selection signal used in a similar way<br>
as the XFixes signal in X to monitor clibpoard/selection changes?<br>
<br></blockquote><div><br>It is understood that the client or toolkit should implement this if it wants to support such a feature.<br><br>- Scott<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks.<br>
<span class="HOEnZb"><font color="#888888"><br>
Yichao Yu</font></span><br></blockquote></div><br>