gtk/gdk
Руслан Ижбулатов 2ace3113d6 GDK W32: Ensure correct stacking of popup windows
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.
2019-06-01 19:23:30 +00:00
..
broadway Drop gdk_surface_get_frame_extents 2019-05-29 18:04:08 +00:00
quartz gdk: Drop GdkWindowAttr 2019-05-28 20:25:14 +00:00
resources/glsl Use GLSL version 110 for OpenGL 2 shaders. 2016-11-01 15:42:46 -03:00
wayland Add a gtk-overlay-scrolling setting 2019-05-31 14:07:15 +00:00
win32 GDK W32: Ensure correct stacking of popup windows 2019-06-01 19:23:30 +00:00
x11 Add a gtk-overlay-scrolling setting 2019-05-31 14:07:15 +00:00
COPYING
fallback-c89.c fallback-c89: Include config.h 2017-05-03 14:47:14 +01:00
gdk-autocleanup.h gdk: Add auto cleanup func for GdkContentProvider 2018-07-19 11:28:21 +03:00
gdk-private.h gdk: Rename gdk_event_set_user_data 2019-03-16 21:24:45 -04:00
gdk.c profiler: port GdkProfiler to sysprof-3 2019-05-29 19:02:30 -07:00
gdk.h Drop the public profiler api 2019-05-08 17:00:26 +00:00
gdkapplaunchcontext.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkapplaunchcontext.h gdk: Include gio.h in gdktypes.h 2017-12-10 01:09:14 +01:00
gdkapplaunchcontextprivate.h gdk: Include gio.h in gdktypes.h 2017-12-10 01:09:14 +01:00
gdkcairo.c docs: Its just GTK now 2019-02-24 10:49:01 -05:00
gdkcairo.h gdk: Get rid of GdkDrawingContext 2018-04-24 23:16:58 +02:00
gdkcairocontext.c Fix some g-i annotation warnings 2018-05-01 12:35:32 +02:00
gdkcairocontext.h gdkcairocontext*.h: Include cairo.h consistently 2018-05-15 13:49:45 +08:00
gdkcairocontextprivate.h gdkcairocontext*.h: Include cairo.h consistently 2018-05-15 13:49:45 +08:00
gdkclipboard.c gdk: Change some async clipboard api 2019-04-02 15:10:53 +00:00
gdkclipboard.h gdk: Change some async clipboard api 2019-04-02 15:10:53 +00:00
gdkclipboardprivate.h gdk: Change some async clipboard api 2019-04-02 15:10:53 +00:00
gdkconfig.h.meson gdk/gdkconfig.h.meson: Add GDK_WINDOWING_WIN32 2017-09-15 21:41:15 +08:00
gdkconfig.h.win32
gdkconfig.h.win32_vulkan Visual Studio builds: Support Vulkan builds 2016-12-30 14:42:38 +08:00
gdkconstructor.h gdk: Include copy of glib/gconstructor.h 2019-03-17 21:29:59 +01:00
gdkcontentdeserializer.c gdk: contentdeserializer: Fix deserializer not returning 2018-07-19 15:55:58 +03:00
gdkcontentdeserializer.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcontentformats.c contentsformat: Avoid a GPtrArray 2018-02-25 16:47:20 +01:00
gdkcontentformats.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcontentformatsprivate.h gdk: Sanitize GdkContentFormats API 2017-11-20 23:15:11 +01:00
gdkcontentprovider.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcontentprovider.h Cosmetic changes 2019-05-19 16:20:15 +00:00
gdkcontentproviderimpl.c Allow binding GdkContentFormatsBuilder 2018-02-03 16:24:13 +01:00
gdkcontentproviderimpl.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcontentproviderprivate.h clipboard: Introduce GdkContentProvider 2017-12-03 05:46:47 +01:00
gdkcontentserializer.c Pass the correct data to gdk_content_register_serializer() 2018-06-16 18:23:56 +00:00
gdkcontentserializer.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcursor.c docs: Small updates 2018-07-13 10:13:00 +02:00
gdkcursor.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkcursorprivate.h gdk: Add gdk_cursor_hash() and gdk_cursor_equal() 2017-11-04 00:07:13 +01:00
gdkdevice.c gtk: rely on default marshallers 2019-05-30 20:56:50 -07:00
gdkdevice.h Drop gdk_device_get_position 2019-05-29 18:04:08 +00:00
gdkdevicepad.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdevicepad.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdevicepadprivate.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdeviceprivate.h Remove gdk_device_warp 2019-03-24 20:49:08 -04:00
gdkdevicetool.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdevicetool.h Remove a lot of Since annotations 2018-06-25 19:55:04 -04:00
gdkdevicetoolprivate.h gdk: Pass hardware ID on gdk_device_tool_new() 2016-08-23 21:01:44 +02:00
gdkdisplay.c gtk: rely on default marshallers 2019-05-30 20:56:50 -07:00
gdkdisplay.h Drop gdk_display_get_monitor_at_point 2019-05-29 18:04:08 +00:00
gdkdisplaymanager.c gtk: rely on default marshallers 2019-05-30 20:56:50 -07:00
gdkdisplaymanager.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkdisplaymanagerprivate.h
gdkdisplayprivate.h Get rid of GdkSurfaceImpl 2019-05-28 20:25:14 +00:00
gdkdrag.c gtk: rely on default marshallers 2019-05-30 20:56:50 -07:00
gdkdrag.h dnd: Drop suggested_action 2018-07-12 13:02:42 +02:00
gdkdragprivate.h Add a private struct to GdkDrag 2018-07-15 16:42:00 -04:00
gdkdrawcontext.c profiling: Add a counter for pixels drawn per frame 2019-05-18 18:04:35 +00:00
gdkdrawcontext.h drawcontext: Add gdk_draw_context_in_frame() API 2018-04-24 23:16:58 +02:00
gdkdrawcontextprivate.h drawcontext: Only pass the region that matters 2018-04-24 23:16:58 +02:00
gdkdrop.c gdk: Change some async dnd api 2019-04-02 15:11:06 +00:00
gdkdrop.h gdk: Change some async dnd api 2019-04-02 15:11:06 +00:00
gdkdropprivate.h gdk: Change some async dnd api 2019-04-02 15:11:06 +00:00
gdkenumtypes.c.template Use g_once for all the mkenums template files 2019-05-21 10:32:08 -05:00
gdkenumtypes.h.template Use @basename@ in enumeration type templates 2019-02-04 14:02:45 +01:00
gdkevents.c Drop gdk_event_get_root_coords 2019-05-31 23:36:35 +00:00
gdkevents.h Drop gdk_event_get_root_coords 2019-05-31 23:36:35 +00:00
gdkeventsprivate.h gdk: add a sanity check for events 2019-05-01 20:50:24 +00:00
gdkframeclock.c marshallers: ensure g_cclosure_marshal_VOID__VOIDv is used 2019-05-29 13:22:31 -07:00
gdkframeclock.h Remove a lot of Since annotations 2018-06-25 19:55:04 -04:00
gdkframeclockidle.c Add clock freezes to the profile 2019-05-16 20:50:31 +00:00
gdkframeclockidleprivate.h frameclockidle: Rename header so it's private now 2018-03-29 05:02:15 +02:00
gdkframeclockprivate.h Redo frame profiling 2019-05-16 19:08:34 +00:00
gdkframetimings.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkframetimings.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkgl.c docs: Its just GTK now 2019-02-24 13:33:36 -05:00
gdkglcontext.c glcontext: Store the updated area in the right place 2019-05-18 17:06:08 +02:00
gdkglcontext.h gdk: Remove gdk_gl_context_get_damage() 2018-04-24 23:16:58 +02:00
gdkglcontextprivate.h GdkGLContext: Add internal functions for KHR_DEBUG calls 2019-04-25 11:35:00 +02:00
gdkglobals.c gdk: Reorganize env vars 2018-01-14 17:05:04 -05:00
gdkgltexture.c gl texture: fix a typo 2019-01-23 22:33:44 -05:00
gdkgltexture.h gltexture: Rename variable 2018-03-18 18:42:20 +01:00
gdkgltextureprivate.h texture: Expose subclasses as subclasses 2018-03-18 05:57:07 +01:00
gdkinternals.h Cosmetics 2019-05-29 18:04:13 +00:00
gdkintl.h
gdkkeynames.c
gdkkeys.c marshallers: ensure g_cclosure_marshal_VOID__VOIDv is used 2019-05-29 13:22:31 -07:00
gdkkeys.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkkeysprivate.h
gdkkeysyms-update.pl docs: Fix GTK links and locations 2019-02-06 10:39:27 +01:00
gdkkeysyms.h docs: Fix GTK links and locations 2019-02-06 10:39:27 +01:00
gdkkeyuni.c Replace gdk_keymap_get_for_display by gdk_display_get_keymap 2017-12-15 07:44:58 -05:00
gdkmarshalers.list surface: Add marshallers for new events 2019-05-28 19:19:24 +02:00
gdkmemorytexture.c Document GdkMemoryTexture 2018-04-28 16:22:29 -04:00
gdkmemorytexture.h Misc documentation fixes 2018-04-28 22:34:14 -04:00
gdkmemorytextureprivate.h texture: Expose subclasses as subclasses 2018-03-18 05:57:07 +01:00
gdkmonitor.c marshallers: add missing g_cclosure_marshal_VOID__VOID fixes 2019-05-29 13:48:33 -07:00
gdkmonitor.h Remove a lot of Since annotations 2018-06-25 19:55:04 -04:00
gdkmonitorprivate.h monitor: Add a ::valid property 2017-11-01 14:17:20 -04:00
gdkpaintable.c marshallers: ensure g_cclosure_marshal_VOID__VOIDv is used 2019-05-29 13:22:31 -07:00
gdkpaintable.h Add GdkPaintable to the docs 2018-05-07 07:47:18 -04:00
gdkpango.c GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkpango.h Drop gdk_pango_context_get_for_display 2017-10-31 18:15:50 -04:00
gdkpipeiostream.c gdk: Remove unnecessary assignments 2018-05-06 02:10:20 +02:00
gdkpipeiostreamprivate.h clipboard: Implement local fallback clipboard transfers 2017-12-03 05:46:47 +01:00
gdkpixbuf-drawable.c GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkpixbuf.h API: gdk: Remove ability to render window contents 2016-11-20 11:47:44 +01:00
gdkprofiler.c profiler: port GdkProfiler to sysprof-3 2019-05-29 19:02:30 -07:00
gdkprofilerprivate.h gdk: Add a profiler 2019-05-07 09:37:59 -07:00
gdkproperty.c Drop gdk_atom_intern 2017-12-13 23:39:03 -05:00
gdkproperty.h Drop gdk_atom_intern 2017-12-13 23:39:03 -05:00
gdkrectangle.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkrectangle.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkrgba.c css: Use %f, not %.17f 2019-05-29 14:30:13 +02:00
gdkrgba.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkrgbaprivate.h rgba: Add GDK_RGBA() macro 2019-05-21 06:43:59 +02:00
gdkseat.c gtk: rely on default marshallers 2019-05-30 20:56:50 -07:00
gdkseat.h Remove a lot of Since annotations 2018-06-25 19:55:04 -04:00
gdkseatdefault.c Add a missing include 2019-03-29 11:55:42 -04:00
gdkseatdefaultprivate.h GdkSeatDefault: Add functions to add/remove tools 2016-04-06 15:43:29 +02:00
gdkseatprivate.h x11: make the tool lookup dependent on the hw id as well 2018-12-18 21:41:49 +01:00
gdkselection.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdksnapshot.c snapshot: Turn into GObject 2018-03-18 19:21:33 +01:00
gdksnapshot.h snapshot: Turn into GObject 2018-03-18 19:21:33 +01:00
gdksnapshotprivate.h snapshot: Turn into GObject 2018-03-18 19:21:33 +01:00
gdksurface.c Cosmetics 2019-05-29 18:04:15 +00:00
gdksurface.h Drop gdk_surface_move 2019-05-29 18:04:08 +00:00
gdksurfaceprivate.h gdk: Maintain popup tree in the frontend 2019-05-28 20:25:17 +00:00
gdktexture.c snapshot: Redo debug messages 2018-04-24 04:06:58 +02:00
gdktexture.h texture: Add gdk_texture_save_to_png() 2018-04-12 14:02:59 +02:00
gdktextureprivate.h texture: Change download vfunc 2018-03-12 17:21:45 +01:00
gdktypes.h docs: Its just GTK now 2019-02-24 13:33:36 -05:00
gdkversionmacros.h.in build: Add gtk-css static library 2019-04-12 19:34:28 +02:00
gdkvulkancontext.c marshallers: ensure g_cclosure_marshal_VOID__VOIDv is used 2019-05-29 13:22:31 -07:00
gdkvulkancontext.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkvulkancontextprivate.h vulkan: Fix release builds 2018-01-21 15:23:17 +01:00
gen-gdk-gresources-xml.py meson: gdk: update and sync with Makefiles 2017-05-03 15:10:53 +01:00
gen-keyname-table.pl
keyname-table.h gdk: Translate some more key names 2017-10-09 20:33:14 +02:00
keynames-translate.txt gdk: Translate some more key names 2017-10-09 20:33:14 +02:00
keynames.txt
meson.build profiler: port GdkProfiler to sysprof-3 2019-05-29 19:02:30 -07:00