[PATCH xwayland 2/2 v2] xwayland: Always update the wl_pointer cursor on pointer focus

Keith Packard keithp at keithp.com
Tue Sep 29 09:49:46 PDT 2015


Jonas Ã…dahl <jadahl at gmail.com> writes:

> As mentioned, a different approach would be to work-around the issue in
> xwayland, but I consider such a solution more hacky than this. Please let
> me know what you think.

All you need do in xwayland is smash pSpriteCursor to some other value,
like ((CursorPtr) (intptr_t) 1). That'll make the existing checks fail
and force the driver to be called with the new cursor.

No mipointer changes ABI/API needed, which means we could merge this for
1.18 (given the DIX patch which I've already reviewed).

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150929/6d3d06be/attachment-0001.sig>


More information about the xorg-devel mailing list