[mutter] display: Make lack of required X extensions a fatal error
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] display: Make lack of required X extensions a fatal error
- Date: Mon, 19 Nov 2018 15:27:05 +0000 (UTC)
commit 791bec3cf740845bf06a6ced42f1170012889822
Author: Alan Coopersmith <alan coopersmith oracle com>
Date: Sat Nov 3 07:54:49 2018 -0700
display: Make lack of required X extensions a fatal error
https://gitlab.gnome.org/GNOME/mutter/issues/272
Signed-off-by: Alan Coopersmith <alan coopersmith oracle com>
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;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]