Re: [XFree86] Where's the cursor?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 16 Oct 2003, Randy wrote:

> Hi all,
> 
> I'm in the midst of writing documentation for an application I wrote and 
> I'm using screen dumps for visuals.
> 
> Why doesn't the mouse cursor get captured during the dump?

  Because it's not supposed to be.  In most driver implementations it's
not even in the framebuffer.   It's added into the data stream after
the framebuffer has been scanned out by the dac.

> 
> I've tried all the common utilities and none of them capture the cursor 
> image so I assume it can't be done, right?

   Right.

> 
> I can't find any info on the net that sheads any light on the matter.
> 
> If the answer is "No it can't be done" then what about an Xcursor to XYZ 
> format utility? If I have to I'll paste the icons back onto the dump.

   I'm not sure if you can even tell what the current cursor is.  
At least I can't think of anything in the protocol that tells you
what that is.  You can get the location of the cursor though, so you
could sortof draw some arbitrary cursor into the dump yourself.

   Standard X cursors (like the ones in /usr/include/X11/bitmaps) are 
stored in .xbm format, which is already a standard format.  The
alpha blended cursors supported by the render extension are in .png,
which is another standard format. 


			Mark.

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux