From 791bec3cf740845bf06a6ced42f1170012889822 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 3 Nov 2018 07:54:49 -0700 Subject: [PATCH] display: Make lack of required X extensions a fatal error https://gitlab.gnome.org/GNOME/mutter/issues/272 Signed-off-by: Alan Coopersmith --- src/core/display.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/core/display.c b/src/core/display.c index 9a041dcb7..5840b1e2e 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -553,9 +553,9 @@ enable_compositor (MetaDisplay *display) if (!META_X11_DISPLAY_HAS_COMPOSITE (x11_display) || !META_X11_DISPLAY_HAS_DAMAGE (x11_display)) { - meta_warning ("Missing %s extension required for compositing", - !META_X11_DISPLAY_HAS_COMPOSITE (x11_display) ? - "composite" : "damage"); + meta_fatal ("Missing %s extension required for compositing", + !META_X11_DISPLAY_HAS_COMPOSITE (x11_display) ? + "composite" : "damage"); return; } @@ -563,7 +563,9 @@ enable_compositor (MetaDisplay *display) x11_display->composite_minor_version; if (version < 3) { - meta_warning ("Your version of COMPOSITE is too old."); + meta_fatal ("Your version of COMPOSITE (%d.%d) is too old. Version 3.0 or later required.", + x11_display->composite_major_version, + x11_display->composite_minor_version); return; } }