From 366e3b67f24f3f93a47222aeae16173a9039bd16 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 31 Oct 2012 15:20:55 +0100 Subject: set maximum workspaces number to 16 --- src/core/prefs.c | 2 +- src/org.mate.marco.gschema.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/prefs.c b/src/core/prefs.c index 7ef9db3c..e14e5e2b 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -31,7 +31,7 @@ #include #include -#define MAX_REASONABLE_WORKSPACES 36 +#define MAX_REASONABLE_WORKSPACES 16 #define MAX_COMMANDS (32 + NUM_EXTRA_COMMANDS) #define NUM_EXTRA_COMMANDS 2 diff --git a/src/org.mate.marco.gschema.xml b/src/org.mate.marco.gschema.xml index b4bed502..8cb26498 100644 --- a/src/org.mate.marco.gschema.xml +++ b/src/org.mate.marco.gschema.xml @@ -111,6 +111,7 @@ A font description string describing a font for window titlebars. The size from the description will only be used if the titlebar_font_size option is set to 0. Also, this option is disabled if the titlebar_uses_desktop_font option is set to true. + 4 Number of workspaces Number of workspaces. Must be more than zero, and has a fixed maximum to prevent making the desktop unusable by accidentally asking for too many workspaces. -- cgit v1.2.1