[Spice-devel] [PATCH] client: support clipboard/selection-owner model
agilboa at redhat.com
Mon Sep 27 06:17:47 PDT 2010
Hans de Goede wrote:
>>> 2) I believe we should not add bitmap support until we've a
>>> platform independent way of doing this. Adding features prematurely
>>> only leads to troubles down the road later (see the defunct before
>>> even really used old clipboard capability flag for example).
>> will be removed unless/until i find a plat-indep way.
> Ok, thanks. I do plan on looking into how to support this under X11
> using something platform neutral as format to send between the agent
> and client. Say a png file or some such, how well would png work for
> windows ? Otherwise we can just do a simple rgb24 format with a small
> header specifying width, height and pitch.
The window$ BITMAPINFO struct currently used has a simple header (width,
height...) followed by RGBQUADs of 32bit (RGB& reserved).
Can u give me a simple example of putting a bitmap in the clipboard in X?
More information about the Spice-devel