[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] ui/cocoa: Adding cursor support
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] ui/cocoa: Adding cursor support |
Date: |
Tue, 12 Mar 2019 08:26:32 +0100 |
User-agent: |
NeoMutt/20180716 |
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