Clipboard and selection in wayland.
Yichao Yu
yyc1992 at gmail.com
Sat Mar 9 21:25:03 PST 2013
On Sun, Mar 10, 2013 at 12:07 AM, Scott Moreau <oreaus at gmail.com> wrote:
> Hi Yichao,
>
> On Sat, Mar 9, 2013 at 9:47 PM, Yichao Yu <yyc1992 at gmail.com> wrote:
>>
>> Hi,
>>
>> In X11 there are CLIPBOARD and PRIMARY selection each correspond to
>> the current clipboard and selected content and applications can
>> monitor the change of them using XFixes. In wayland, I have found
>> wl_data_device which I suppose should do the similar thing. The
>> question is, since there is only one wl_data_device::selection event,
>> is it possible to get current selected data as well as clipboard
>> content in wayland (or in another word is it possible to have X11's
>> handy middle button paste)? I also found the only weston client that
>> uses clipboard (weston-terminal) use it in a weird way, should this be
>> considered a bug and should the selection signal used in a similar way
>> as the XFixes signal in X to monitor clibpoard/selection changes?
>>
>
> It is understood that the client or toolkit should implement this if it
> wants to support such a feature.
That makes a lot of sense. Actually what I am more interested in is
whether similar feature with x11's "PRIMARY" selection can be
supported, oh, and also what about clipboard manager...
>
> - Scott
>
>>
>>
>> Thanks.
>>
>> Yichao Yu
>
>
More information about the wayland-devel
mailing list