forked from AuroraMiddleware/gtk
795572710c
This commit ensures that each GdkSurface impl remembers the cursor that GDK sets for it, and that this cursor is set each time WM_SETCURSOR is called for that sufrace's HWND. This is needed because W32, unlike X, has no per-window cursors - the cursor on W32 is a global resource, and we need to keep track of which cursor should be set when pointer is over which surface ourselves (WM_SETCURSOR exists exactly for this reason). This commit also makes GDK remember the surface that has an implicit grab (since implicit grabs are gone from the upper levels of the toolkit), and ensures that crossing events are correctly synthesized and the grab is broken when surface focus changes. This fixes a bug where opening a new window (by clicking something in some other, pre-existing window) will make that new window not get any mouse input due to the fact that the mouse-button-down event from that click caused an implicit grab on the pre-existing window, and that grab was not released afterward. |
||
---|---|---|
.. | ||
rc | ||
bdfcursor.c | ||
cursor.bdf | ||
gdkclipboard-win32.c | ||
gdkclipboard-win32.h | ||
gdkclipdrop-win32.c | ||
gdkclipdrop-win32.h | ||
gdkcursor-win32.c | ||
gdkdevice-virtual.c | ||
gdkdevice-virtual.h | ||
gdkdevice-win32.c | ||
gdkdevice-win32.h | ||
gdkdevice-wintab.c | ||
gdkdevice-wintab.h | ||
gdkdevicemanager-win32.c | ||
gdkdevicemanager-win32.h | ||
gdkdisplay-win32.c | ||
gdkdisplay-win32.h | ||
gdkdisplaymanager-win32.c | ||
gdkdnd-win32.c | ||
gdkdrag-win32.c | ||
gdkdrop-win32.c | ||
gdkevents-win32.c | ||
gdkgeometry-win32.c | ||
gdkglcontext-win32.c | ||
gdkglcontext-win32.h | ||
gdkglobals-win32.c | ||
gdkhdataoutputstream-win32.c | ||
gdkhdataoutputstream-win32.h | ||
gdkkeys-win32.c | ||
gdkmain-win32.c | ||
gdkmonitor-win32.c | ||
gdkmonitor-win32.h | ||
gdkprivate-win32.h | ||
gdkproperty-win32.c | ||
gdkscreen-win32.c | ||
gdkselection-win32.c | ||
gdkselection-win32.h | ||
gdksurface-win32.c | ||
gdksurface-win32.h | ||
gdkvulkancontext-win32.c | ||
gdkvulkancontext-win32.h | ||
gdkwin32.h | ||
gdkwin32cursor.h | ||
gdkwin32display.h | ||
gdkwin32displaymanager.h | ||
gdkwin32dnd-private.h | ||
gdkwin32dnd.h | ||
gdkwin32glcontext.h | ||
gdkwin32id.c | ||
gdkwin32keys.h | ||
gdkwin32misc.h | ||
gdkwin32monitor.h | ||
gdkwin32screen.h | ||
gdkwin32surface.h | ||
libwntab32x.la | ||
meson.build | ||
pktdef.h | ||
wintab.h | ||
xcursors.h |