summaryrefslogtreecommitdiff
path: root/src/core/prefs.c
diff options
context:
space:
mode:
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 df6bed14..f7df9f39 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -130,6 +130,7 @@ static gboolean center_new_windows = FALSE;
static gboolean force_fullscreen = TRUE;
static gboolean allow_tiling = FALSE;
static gboolean allow_top_tiling = TRUE;
+static gboolean allow_tile_cycling = TRUE;
static GList *show_desktop_skip_list = NULL;
static MetaVisualBellType visual_bell_type = META_VISUAL_BELL_FULLSCREEN_FLASH;
@@ -443,6 +444,12 @@ static MetaBoolPreference preferences_bool[] =
&allow_top_tiling,
FALSE,
},
+ { "allow-tile-cycling",
+ KEY_GENERAL_SCHEMA,
+ META_PREF_ALLOW_TILE_CYCLING,
+ &allow_tile_cycling,
+ FALSE,
+ },
{ "alt-tab-expand-to-fit-title",
KEY_GENERAL_SCHEMA,
META_PREF_ALT_TAB_EXPAND_TO_FIT_TITLE,
@@ -1700,6 +1707,9 @@ meta_preference_to_string (MetaPreference pref)
case META_PREF_ALLOW_TOP_TILING:
return "ALLOW_TOP_TILING";
+ case META_PREF_ALLOW_TILE_CYCLING:
+ return "ALLOW_TILE_CYCLING";
+
case META_PREF_PLACEMENT_MODE:
return "PLACEMENT_MODE";
@@ -2390,6 +2400,12 @@ meta_prefs_get_allow_top_tiling ()
return allow_top_tiling;
}
+gboolean
+meta_prefs_get_allow_tile_cycling ()
+{
+ return allow_tile_cycling;
+}
+
guint
meta_prefs_get_mouse_button_resize (void)
{