Jonas Ådahl <jad...@gmail.com> writes:

> In Wayland, a client (in this case XWayland) should set the cursor
> surface when it receives pointer focus. Not doing this will leave the
> curser at whatever it was previously.

It seems like it would be far simpler to just remember the last cursor
set down in the xwayland bits and set the cursor back to that on
enter. If the actual cursor needs to change to something else, it'll get
set immediately afterwards.

Alternatively, just hacking ChangeToCursor to have a way to skip the
check for identical cursors would be a pretty simple way to make sure
your driver always saw DisplayCursor calls for every cursor change, and
you could do whatever optimizations you wanted in there.

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to