Keith Packard wrote:
> On Tue, 2008-09-30 at 17:28 +0100, Barry Scott wrote:
>
>   
>> For example mozilla (mozembed). The -nocursor patch avoids the need to 
>> modify
>> any app code at all to remove the unwanted cursors.
>>     
>
> Have you tried the XFixes HideCursor request yet? That disables the
> cursor on a specific screen.
>
>   
I wrote a small program that does:

        XFixesHideCursor( dpy, DefaultRootWindow( dpy ) );

and that does not do what my -nocursor patch does. I still see the cursor
over an applications window. Are you expecting that I have to hunt
down every windows on the screen and call hide on it?

Also When I call:

        XFixesShowCursor( dpy, DefaultRootWindow( dpy ) );

I get:

xfixes example
XFixesQueryExtension => 1
    event_base: 113
    error_base: 180
XFixesQueryVersion => 1
    major_version: 4
    minor_version: 0
XFixesShowCursor
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  153 (XFIXES)
  Minor opcode of failed request:  30 ()
  Serial number of failed request:  9
  Current serial number in output stream:  11

Barry

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to