Hi,

> +        if (cursorVisible && cursorImage && NSIntersectsRect(rect, 
> cursorRect)) {
> +            CGContextDrawImage (viewContextRef, cursorRect, cursorImage);

So you are rendering the cursor to the window.

Better approach would be to just set the cursor of the host window,
like the gtk UI does, using gdk_window_set_cursor().

cheers,
  Gerd


Reply via email to