summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/prefs.c2
-rw-r--r--src/org.mate.marco.gschema.xml1
2 files changed, 2 insertions, 1 deletions
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 <string.h>
#include <stdlib.h>
-#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 @@
<description>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.</description>
</key>
<key name="num-workspaces" type="i">
+ <range min="1" max="16"/>
<default>4</default>
<summary>Number of workspaces</summary>
<description>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.</description>