Default to using stage views

Instead of hiding stage views enablement behind MUTTER_STAGE_VIEWS=1,
default to enable it, while making it possible to disable using
MUTTER_STAGE_VIEWS=0 instead.

https://bugzilla.gnome.org/show_bug.cgi?id=770366
This commit is contained in:
Jonas Ådahl 2016-08-25 12:57:39 +08:00
parent 01edf10e82
commit 262e184fe7

View File

@ -790,9 +790,9 @@ meta_is_stage_views_enabled (void)
mutter_stage_views = g_getenv ("MUTTER_STAGE_VIEWS");
if (!mutter_stage_views)
return FALSE;
return TRUE;
return strcmp (mutter_stage_views, "1") == 0;
return !g_str_equal (mutter_stage_views, "0");
}
MetaInputSettings *