mutter/src/x11
Marco Trevisan (Treviño) 889cd056e7 x11/x11-errors: Use the default error handler when display is destroyed
An X11 server connection may still be around when we close the display,
and mutter_x_error could be triggered when x11_display has been already
destroyed leading to a crash.

To prevent this use the default X11 error handler.

As per this, also move the ownership of the error traps to x11-errors.

See: https://gitlab.gnome.org/GNOME/mutter/-/issues/2835
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3020>
2023-05-31 07:53:41 +00:00
..
atomnames.h Remove support for window shading 2023-03-03 19:17:51 +00:00
events.c x11: Do not unminimize windows with initial IconicState 2023-05-16 15:34:25 +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: Remove stray spaces 2023-05-24 14:16:41 +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: Fix remaining leaks from switch to XGetAtomName() 2023-04-14 13:27:19 +00:00
meta-startup-notification-x11.c startup-notification/x11: Let the libsn user handle API annoyances 2022-12-17 15:13:48 +01:00
meta-startup-notification-x11.h x11: Add method to launch applications, using SnLauncher 2019-01-18 17:03:57 +00:00
meta-sync-counter.c x11: Always initialize all fields of XEvents sent via XSendEvent 2023-04-17 01:52:36 +02:00
meta-sync-counter.h compositor: Move frame drawn x11 management to MetaSyncCounter 2022-12-01 20:10:52 +00:00
meta-x11-display-private.h x11/x11-errors: Use the default error handler when display is destroyed 2023-05-31 07:53:41 +00:00
meta-x11-display.c x11/x11-errors: Use the default error handler when display is destroyed 2023-05-31 07:53:41 +00:00
meta-x11-errors.c x11/x11-errors: Use the default error handler when display is destroyed 2023-05-31 07:53:41 +00:00
meta-x11-event-source.c x11: Open a X11 Display directly 2023-03-03 20:17:01 +00:00
meta-x11-event-source.h x11: Open a X11 Display directly 2023-03-03 20:17:01 +00:00
meta-x11-selection-input-stream-private.h x11: Remove unused member variables from MetaX11SelectionInputStream 2023-04-14 13:27:19 +00:00
meta-x11-selection-input-stream.c x11: Remove unused member variables from MetaX11SelectionInputStream 2023-04-14 13:27:19 +00:00
meta-x11-selection-output-stream-private.h x11: Use Atoms when constructing a new MetaX11SelectionOutputStream 2023-04-14 13:27:19 +00:00
meta-x11-selection-output-stream.c x11: Use Atoms when constructing a new MetaX11SelectionOutputStream 2023-04-14 13:27:19 +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: Fix remaining leaks from switch to XGetAtomName() 2023-04-14 13:27:19 +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
mutter-Xatomtype.h mutter-Xatomtype: Fix the sizes of these structs 2015-06-23 11:46:29 -07:00
session.c core: Retrieve DESKTOP_AUTOSTART_ID early on startup 2023-03-18 15:40:17 +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 mutter: Cleanup gi-docgen annotations 2023-05-22 15:47:37 +00:00
window-props.h mutter: Cleanup gi-docgen annotations 2023-05-22 15:47:37 +00:00
window-x11-private.h x11: Delay next resize op after sync resize until frame is painted 2022-12-01 20:10:53 +00:00
window-x11.c x11: Always initialize all fields of XEvents sent via XSendEvent 2023-04-17 01:52:36 +02:00
window-x11.h window/x11: Make process_property_notify a virtual method 2023-02-20 16:55:36 +00:00
xprops.c x11: Drop unused function 2022-12-09 16:28:33 +00:00
xprops.h x11: Drop unused function 2022-12-09 16:28:33 +00:00