[mutter] Default to using stage views
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Default to using stage views
- Date: Tue, 30 Aug 2016 14:57:11 +0000 (UTC)
commit 262e184fe7e9f3d41149ffc4d34424371d0c0102
Author: Jonas Ådahl <jadahl gmail com>
Date: Thu Aug 25 12:57:39 2016 +0800
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
src/backends/meta-backend.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/backends/meta-backend.c b/src/backends/meta-backend.c
index 3e603f3..8c97765 100644
--- a/src/backends/meta-backend.c
+++ b/src/backends/meta-backend.c
@@ -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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]