summaryrefslogtreecommitdiff
path: root/config.h.meson
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2019-06-14 16:04:44 +0200
committerCarlos Garnacho <carlosg@gnome.org>2020-10-21 18:57:13 +0200
commitf4a1dcfc935598db2f396731a0d59fbf988c1237 (patch)
treefbfa02989a6f12a3a3839f80691b3ec30d728738 /config.h.meson
parent1b39b92fa599f51046dbb5b2e26ff9fb907e13af (diff)
downloadmutter-f4a1dcfc935598db2f396731a0d59fbf988c1237.tar.gz
wayland: Set IO error exit handlerwip/carlosg/xwayland-non-fatal-io-errors
If this call is available, we can turn libX11 IO errors (fatal by definition) into something we can recover from. Try to dispose all X11 resources and close the display instead, so the compositor can survive the event. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1447
Diffstat (limited to 'config.h.meson')
-rw-r--r--config.h.meson3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.meson b/config.h.meson
index b2a23596f..f4d6000e1 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -71,6 +71,9 @@
/* Whether Xwayland has -initfd option */
#mesondefine HAVE_XWAYLAND_INITFD
+/* Whether libX11 has XSetIOErrorExitHandler */
+#mesondefine HAVE_XSETIOERROREXITHANDLER
+
/* Whether the mkostemp function exists */
#mesondefine HAVE_MKOSTEMP