gtk/gdk/x11
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
..
gdkapplaunchcontext-x11.c x11: Stop using GTimeVal 2020-07-31 10:58:53 -04:00
gdkasync.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkasync.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkcairocontext-x11.c Get rid of GdkSurfaceImpl 2019-05-28 20:25:14 +00:00
gdkcairocontext-x11.h x11: Move implementation of Cairo context backends 2018-04-24 23:16:13 +02:00
gdkclipboard-x11.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkclipboard-x11.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkcursor-x11.c docs: Clean up dangling links in gdk docs 2020-08-05 15:45:43 -04:00
gdkdevice-xi2-private.h x11: Drop unused argument from query_state 2020-08-26 17:56:41 -04:00
gdkdevice-xi2.c x11: Drop unused argument from query_state 2020-08-26 17:56:41 -04:00
gdkdevicemanager-x11.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdevicemanager-xi2.c gdk/x11: Make device type a X11 detail 2020-07-30 18:30:13 +02:00
gdkdevicemanagerprivate-core.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdkdisplay-x11.c gdk: Replace 'WITHDRAWN' state with async 'is-mapped' boolean 2020-12-07 20:37:30 +01:00
gdkdisplay-x11.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkdrag-x11.c gdk: Replace 'WITHDRAWN' state with async 'is-mapped' boolean 2020-12-07 20:37:30 +01:00
gdkdrop-x11.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkeventsource.c gdk: Conflate GDK devices 2020-07-29 01:27:51 +02:00
gdkeventsource.h x11: Refactor xevent filtering some more 2017-12-13 01:55:56 +01:00
gdkeventtranslator.c x11: change event translator interface 2020-02-21 00:47:51 -05:00
gdkeventtranslator.h gdk: Drop the GdkEventMask enum 2020-05-26 19:39:31 -04:00
gdkglcontext-x11.c gdk: Replace 'WITHDRAWN' state with async 'is-mapped' boolean 2020-12-07 20:37:30 +01:00
gdkglcontext-x11.h x11: Defer _NET_WM_FRAME_DRAWN update until frame usable by compositor 2020-06-05 10:01:13 -04:00
gdkkeys-x11.c Remove gtk-doc annotation from private symbols 2020-12-02 19:05:41 +00:00
gdkkeys-x11.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkmain-x11.c docs: Stop referring to the Quartz backend 2020-10-29 14:23:46 -04:00
gdkmonitor-x11.c gdk: Rename GdkSurfaceState to GdkToplevelState 2020-09-10 00:39:03 -04:00
gdkmonitor-x11.h x11: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-x11.h Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gdkproperty-x11.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkscreen-x11.c x11: Plug listmodel memory leaks 2020-11-10 09:07:01 -05:00
gdkscreen-x11.h x11: Stop using GTimeVal 2020-07-31 10:58:53 -04:00
gdkselection-x11.c docs: Clean up dangling links in gdk docs 2020-08-05 15:45:43 -04:00
gdkselectioninputstream-x11.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkselectioninputstream-x11.h x11: Improve fallbacks for text 2017-12-03 05:46:46 +01:00
gdkselectionoutputstream-x11.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkselectionoutputstream-x11.h x11: Refactor code 2017-12-13 00:56:52 +01:00
gdksettings.c Add a gtk-overlay-scrolling setting 2019-05-31 14:07:15 +00:00
gdksurface-x11.c gdk: Replace 'WITHDRAWN' state with async 'is-mapped' boolean 2020-12-07 20:37:30 +01:00
gdksurface-x11.h x11/surface: Avoid resizing if computed size didn't change 2020-12-07 20:37:29 +01:00
gdktextlistconverter-x11.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdktextlistconverter-x11.h x11: Implement claiming the X Selection with the clipboard 2017-12-03 05:46:47 +01:00
gdkvisual-x11.c Remove gtk-doc annotation from private symbols 2020-12-02 19:05:41 +00:00
gdkvisual-x11.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkvulkancontext-x11.c Fix minor typos 2020-05-28 11:00:03 +03:00
gdkvulkancontext-x11.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkx11applaunchcontext.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx11device-xi2.h gdk/x11: Make device type a X11 detail 2020-07-30 18:30:13 +02:00
gdkx11device.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkx11devicemanager-xi2.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11devicemanager.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkx11display.h gdk/x11: Add annotations to improve GIR API 2020-07-31 20:56:36 +02:00
gdkx11dnd.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx11glcontext.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkx11monitor.h gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkx11property.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkx11screen.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkx11selection.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkx11surface.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkx11utils.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx-autocleanups.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkx.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkxftdefaults.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gdkxid.c x11: Stop using child surface api 2019-05-28 20:25:13 +00:00
meson.build x11: Add back support for the damage extension 2020-06-05 10:01:13 -04:00
MwmUtil.h Change FSF Address 2012-02-27 17:06:11 +00:00
xsettings-client.c x11: Don't pass a GdkEvent to xsettings filters 2020-02-21 00:40:52 -05:00
xsettings-client.h x11: Don't pass a GdkEvent to xsettings filters 2020-02-21 00:40:52 -05:00