mutter/src/x11
Bilal Elmoussaoui 7bf07d2980 core/window: Implement GInitable
Currently, we will notify the display about a new window being created
during the constructed phase of the GObject. During this time,
property-change notifications are frozen by GObject, so we'll emit a few
::notify signals only after the window-created signal, although
the actual property change happened before that.

This caused confusion in gnome-shell code where a notify::skip-taskbar =
true emission was seen when the property already was true inside a
window-created handler before.

In order to fix that that, we notify the window creation
post-construction
of the GObject on GInitable.init vfunc

Details
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6119#note_1598983
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6119

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2703>
2022-11-22 11:29:38 +01:00
..
atomnames.h keybindings: Remove support for 'panel-main-menu' binding 2021-08-30 21:43:34 +00:00
events.c tests/test-client: Handle alarm event processing automatically 2022-11-21 16:30:05 +00:00
events.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
group-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
group-props.c Remove misplaced line break in g_* logging functions 2020-10-08 16:38:41 +02:00
group-props.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
group.c mutter: Add missing nullable annotation when possible 2022-04-05 14:05:23 +02:00
iconcache.c iconcache: Avoid xrender picture formats when creating cairo surface 2019-08-27 18:47:41 +03:00
iconcache.h Move X11 event, icon cache and property handling to MetaX11Display 2018-07-06 19:47:16 +02:00
meta-selection-source-x11-private.h Make MetaSelection, MetaSelectionSource and MetaMemorySelectionSource public 2019-05-02 16:31:45 +02:00
meta-selection-source-x11.c x11: Let selection input streams create their own window 2022-01-07 02:21:28 +01:00
meta-startup-notification-x11.c startup-notification/x11: Fix indentation 2022-09-19 14:46:01 +00:00
meta-startup-notification-x11.h x11: Add method to launch applications, using SnLauncher 2019-01-18 17:03:57 +00:00
meta-x11-display-private.h tests/test-client: Handle alarm event processing automatically 2022-11-21 16:30:05 +00:00
meta-x11-display.c tests/test-client: Handle alarm event processing automatically 2022-11-21 16:30:05 +00:00
meta-x11-errors.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-x11-selection-input-stream-private.h x11: Let selection input streams create their own window 2022-01-07 02:21:28 +01:00
meta-x11-selection-input-stream.c x11/input-selection-stream: Handle Xwayland going away 2022-05-31 12:00:55 +00:00
meta-x11-selection-output-stream-private.h x11: Add X11 selection input/output streams 2019-05-02 15:40:13 +02:00
meta-x11-selection-output-stream.c x11: Do not trust there is task in error paths 2020-04-16 16:26:04 +00:00
meta-x11-selection-private.h Make MetaSelection, MetaSelectionSource and MetaMemorySelectionSource public 2019-05-02 16:31:45 +02:00
meta-x11-selection.c x11/selection: Unset selection ownership on shutdown 2022-05-31 12:00:54 +00:00
meta-x11-stack-private.h x11: Add MetaX11Stack object 2019-05-24 15:30:31 +00:00
meta-x11-stack.c backends: Shuffle ClutterBackendX11 code into MetaClutterBackendX11 2021-07-16 19:08:06 +02:00
meta-x11-window-control.c window: Add meta_window_lower_with_transients() 2021-08-04 14:41:43 +00:00
meta-x11-window-control.h x11/window-controls: Pass around MetaX11Display directly 2019-10-15 07:17:29 +00:00
mutter-Xatomtype.h mutter-Xatomtype: Fix the sizes of these structs 2015-06-23 11:46:29 -07:00
session.c x11/session: Set the context as client data on connection watch 2022-09-02 17:52:41 +00:00
session.h x11/session: Use MetaContext to terminate instead of meta_quit() 2021-07-15 11:34:37 +02:00
window-props.c window: Move icon management to X11 implementation 2022-02-07 17:52:05 +00:00
window-props.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
window-x11-private.h core: Untangle meta_window_shared_new 2022-11-17 11:30:56 +00:00
window-x11.c core/window: Implement GInitable 2022-11-22 11:29:38 +01:00
window-x11.h surface-actor-x11: Move window related unredirect logic to MetaWindowX11 2020-04-16 14:08:19 +02:00
xprops.c xprops: Validate text properties that claim to be UTF8 2021-05-11 15:20:17 +00:00
xprops.h Clean up include macros mess 2018-11-06 17:17:36 +01:00