forked from AuroraMiddleware/gtk
2ace3113d6
1) In the SetWindowPos() function (and the WINDOWPOS struct) the "hWndInsertAfter" argument/field means the window that will be directly above after the change, not the window that will be directly below. MSDN says "precedes" for SetWindowPos(), but WINDOWPOS documentation is more precise: this is the window behind which the affected window will be placed. Apparently, Z-axis goes back-to-front. Therefore, logging should be reworded correctly. 2) When we switch away from the application and then switch back to a transient window, we need to bring up its transient-owner (and its transient-owner's owner and so forth) as well, otherwise our transient (modal) window might be transient for something that might not be visible. 3) When we bring up a window, we should bring all of its children (popup windows) on top of it. Because Windows doesn't provide a function to bring one window on top of the other, we have to work around this by calling SetWindowPos() twice, swapping the windows between the calls. |
||
---|---|---|
.. | ||
rc | ||
bdfcursor.c | ||
cursor.bdf | ||
gdkcairocontext-win32.c | ||
gdkcairocontext-win32.h | ||
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 | ||
gdkdrag-win32.c | ||
gdkdrop-win32.c | ||
gdkevents-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 | ||
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 | ||
gdkwin32langnotification.c | ||
gdkwin32langnotification.h | ||
gdkwin32misc.h | ||
gdkwin32monitor.h | ||
gdkwin32screen.h | ||
gdkwin32surface.h | ||
libwntab32x.la | ||
meson.build | ||
pktdef.h | ||
wintab.h | ||
xcursors.h |