On Fri, 28 Feb 2003, Robert Woerle Paceblade/Support wrote:

> Hi
> 
> i now that this might be a silly qestion  but i try:
> 
> I am doing a calibration utility for "our " touchscreen ...
> now i want to become the cursor invisible when runnning my calibration .
> 
> I ve read once upon a time some code which did that but i dont find it 
> anymore ... i remmeber that i have to register a new GC with a colour 
> that  is invisible and change the cursor to that GC ..
> but how excatly can i do that .. can somebody point me to a example code


   You have to install a cursor with an empty (all-zeros) mask.  A
1x1 cursor will do.  And you'll want to grab the cursor to keep it
from changing.  See the XCreatePixmapCursor man page, you can use
the same 1x1 zero pixmap for the source and mask - that will be
transparent.


                        MArk.

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to