summaryrefslogtreecommitdiff
path: root/src/core/prefs.c
diff options
context:
space:
mode:
authorIllia Danko <[email protected]>2016-10-07 23:58:41 +0300
committerraveit65 <[email protected]>2016-12-05 07:28:31 +0100
commit9a4b1e0bb71cd991cd1d86d4fb432377ba4f4eab (patch)
tree09d1d1858d2fc197c3e662952d945b6f521c7942 /src/core/prefs.c
parentd2a4748d7df1c160eb4d7e15d898c2ae4219e88f (diff)
downloadmarco-9a4b1e0bb71cd991cd1d86d4fb432377ba4f4eab.tar.bz2
marco-9a4b1e0bb71cd991cd1d86d4fb432377ba4f4eab.tar.xz
Added functionality to disable display preselected tab window border
Diffstat (limited to 'src/core/prefs.c')
-rw-r--r--src/core/prefs.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/prefs.c b/src/core/prefs.c
index 2f3e9392..8dd1008a 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -117,6 +117,7 @@ static gboolean force_compositor_manager = FALSE;
static gboolean compositing_manager = FALSE;
static gboolean compositing_fast_alt_tab = FALSE;
static gboolean resize_with_right_button = FALSE;
+static gboolean show_tab_border = FALSE;
static gboolean center_new_windows = FALSE;
static gboolean force_fullscreen = TRUE;
static gboolean side_by_side_tiling = FALSE;
@@ -407,6 +408,12 @@ static MetaBoolPreference preferences_bool[] =
&resize_with_right_button,
FALSE,
},
+ { "show-tab-border",
+ KEY_GENERAL_SCHEMA,
+ META_PREF_SHOW_TAB_BORDER,
+ &show_tab_border,
+ FALSE,
+ },
{ "center-new-windows",
KEY_GENERAL_SCHEMA,
META_PREF_CENTER_NEW_WINDOWS,
@@ -1558,6 +1565,9 @@ meta_preference_to_string (MetaPreference pref)
case META_PREF_RESIZE_WITH_RIGHT_BUTTON:
return "RESIZE_WITH_RIGHT_BUTTON";
+ case META_PREF_SHOW_TAB_BORDER:
+ return "SHOW_TAB_BORDER";
+
case META_PREF_FORCE_FULLSCREEN:
return "FORCE_FULLSCREEN";
@@ -2246,6 +2256,12 @@ meta_prefs_get_mouse_button_menu (void)
}
gboolean
+meta_prefs_show_tab_border(void)
+{
+ return show_tab_border;
+}
+
+gboolean
meta_prefs_get_force_fullscreen (void)
{
return force_fullscreen;