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

Jonas Ådahl jadahl at gmail.com
Wed Sep 30 08:28:23 PDT 2015


On Wed, Sep 30, 2015 at 07:43:50AM -0700, Keith Packard wrote:
> Jonas Ådahl <jadahl at gmail.com> writes:
> 
> > Yes, otherwise we'd crash in miPointerUpdateSprite when trying to access
> > pCursor->bits.
> 
> pSpriteCursor, not pCursor.

Ugh, poking in mipointers struct directly, ok. I'll have to expose the
MIPOINTER() macro. Is it fine to just move it to mipointer.h, or should
I introduce some DeviceIntPtr -> miPointerPtr function (which would need
some moving around of typedefs as well)?


Jonas

> 
> -- 
> -keith




More information about the xorg-devel mailing list