gtk/gdk/macos
Jonas Ådahl d2c95a1b13 gdk: Replace 'WITHDRAWN' state with async 'is-mapped' boolean
It was used by all surfaces to track 'is-mapped', but still part of the
GdkToplevelState, and is now replaced with a separate boolean in the
GdkSurface structure.

It also caused issues when a widget was unmapped, and due to that
unmapped a popover which hid its corresponding surface. When this
surface was hidden, it emitted a state change event, which would then go
back into GTK and queue a resize on popover widget, which would travel
back down to the widget that was originally unmapped, causing confusino
when doing future allocations.

To summarize, one should not hide widgets during allocation, and to
avoid this, make this new is-mapped boolean asynchronous when hiding a
surface, meaning the notification event for the changed mapped state
will be emitted in an idle callback. This avoids the above described
reentry issue.
2020-12-07 20:37:30 +01:00
..
edgesnapping.c macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
edgesnapping.h gdk: Drop GdkPoint from the api 2020-10-29 14:23:46 -04:00
gdkdisplaylinksource.c macos: support ARM/PowerPC time conversion for DisplayLink times 2020-07-27 12:49:57 -07:00
gdkdisplaylinksource.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacos.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
GdkMacosBaseView.c macos: move setNeedsDisplay helper to GdkMacosCairoView 2020-10-29 10:57:02 -07:00
GdkMacosBaseView.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacoscairocontext-private.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacoscairocontext.c macos: fix rendering artifacts with hover transitions 2020-11-17 18:20:55 -08:00
GdkMacosCairoSubview.c macos: add more aggressive clip to transparent subview 2020-10-29 19:41:21 -07:00
GdkMacosCairoSubview.h macos: add more aggressive clip to transparent subview 2020-10-29 19:41:21 -07:00
GdkMacosCairoView.c macos: add more aggressive clip to transparent subview 2020-10-29 19:41:21 -07:00
GdkMacosCairoView.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacosclipboard-private.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacosclipboard.c macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacoscursor-private.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacoscursor.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacosdevice-private.h macos: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkmacosdevice.c macos: track grab serial like other backends 2020-12-02 11:34:31 -08:00
gdkmacosdevice.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacosdisplay-private.h macos: remove synthesize_motion helper 2020-11-04 16:58:50 -08:00
gdkmacosdisplay-settings.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacosdisplay-translate.c macos: fix typo when creating scroll events 2020-12-03 13:46:47 -08:00
gdkmacosdisplay.c macos: ensure element is part of queue 2020-12-02 19:44:02 -08:00
gdkmacosdisplay.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacosdrag-private.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacosdrag.c macos: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkmacosdragsurface-private.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacosdragsurface.c macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacoseventsource-private.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacoseventsource.c macos: fix various compiler warnings 2020-11-18 20:16:37 -08:00
gdkmacosglcontext-private.h macos: clip damage when swapping buffers 2020-11-04 17:21:17 -08:00
gdkmacosglcontext.c macos: glFlush() when switching GL contexts 2020-12-01 16:19:04 -08:00
gdkmacosglcontext.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
GdkMacosGLView.c macos: implement GL context 2020-10-29 10:57:02 -07:00
GdkMacosGLView.h macos: implement GL context 2020-10-29 10:57:02 -07:00
gdkmacoskeymap-private.h macos: add key equivalent helper 2020-10-09 20:03:52 -07:00
gdkmacoskeymap.c macos: add key equivalent helper 2020-10-09 20:03:52 -07:00
gdkmacoskeymap.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacosmonitor-private.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacosmonitor.c gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkmacosmonitor.h macos: track various changes in GDK 2020-10-09 20:02:18 -07:00
gdkmacospopupsurface-private.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacospopupsurface.c gdk: Always get shadow width via GdkToplevelSize 2020-12-07 09:46:39 +01:00
gdkmacosseat-private.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacosseat.c gdk: Drop gdk_device_get_device_type() 2020-07-30 18:44:40 +02:00
gdkmacossurface-private.h gdk: Always get shadow width via GdkToplevelSize 2020-12-07 09:46:39 +01:00
gdkmacossurface.c gdk: Replace 'WITHDRAWN' state with async 'is-mapped' boolean 2020-12-07 20:37:30 +01:00
gdkmacossurface.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkmacostoplevelsurface-private.h macos: use opaque GL context when possible 2020-11-05 13:34:29 -08:00
gdkmacostoplevelsurface.c gdk/toplevelsize: Rename 'margin' to 'shadow' and 'shadow_width' 2020-12-07 20:37:29 +01:00
gdkmacosutils-private.h gdk: Drop GdkPoint from the api 2020-10-29 14:23:46 -04:00
GdkMacosWindow.c gdk: Replace all GDK_CONFIGURE usage with GdkSurface::layout 2020-12-07 20:37:29 +01:00
GdkMacosWindow.h macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
meson.build macos: implement GL context 2020-10-29 10:57:02 -07:00