summaryrefslogtreecommitdiff
path: root/config.h.meson
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2021-01-22 11:16:24 +0100
committerOlivier Fourdan <ofourdan@redhat.com>2021-01-22 11:40:30 +0100
commit22b926eea7171239374fee34a961b5b096675908 (patch)
tree21e84d2ec7090ba55c40bcb82d8cb76890dd5c01 /config.h.meson
parent26cc51a1a5345e42cd36dcf3668d5592dcc85f30 (diff)
downloadmutter-22b926eea7171239374fee34a961b5b096675908.tar.gz
xwayland: Check for listenfd option
Current Xwayland has marked the command line option "-listen" as deprecated in favor of "-listenfd". Use the pkg-config variable "have_listenfd" (if available) from Xwayland to determine if we should use that option, to avoid a deprecation warning when spawning Xwayland. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1682>
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 4b7a4a107..26e13b9ca 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -71,6 +71,9 @@
/* Whether Xwayland has -initfd option */
#mesondefine HAVE_XWAYLAND_INITFD
+/* Whether Xwayland has -listenfd option */
+#mesondefine HAVE_XWAYLAND_LISTENFD
+
/* Whether libX11 has XSetIOErrorExitHandler */
#mesondefine HAVE_XSETIOERROREXITHANDLER