mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 17:38:56 +00:00
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>
This commit is contained in:
parent
fb8dc91893
commit
791bec3cf7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user