[Xcb] Please review/comment: libxcursor port

Bastien Dejean nihilhill at gmail.com
Mon Jan 14 03:10:19 PST 2013


Michael Stapelberg:
> Hi Bastien,
> 
> Bastien Dejean <nihilhill at gmail.com> writes:
> > Seems to work with the cursor theme I currently use (dmz-aa).
> Cool, thanks for confirming.
> 
> > Some windows won't let their cursor be changed though (e.g.: URxvt), is
> > this a known limitation?
> I haven’t tested that yet, but to figure out whether it should be
> possible or not, you could try the same using libXcursor…?

I think it might work if the cursor is changed through xcb_grab_pointer
but I'm too busy to check right now.

> > I was also wondering if it might be possible to retrieve the current
> > cursor for a given window in order to restore it afterwards?
> Not that I know of. The cursor id isn’t included in the window
> attributes apparently.

That's what I thought.

Thanks,
-- 
 b.d
(| |)
 ^ ^


More information about the Xcb mailing list