This is a simple workaround for workspace autocreation limit problem.
It prevents to reach the buggy number of workspaces ie 81.

This can be considered as a preventive solution until we find the real reason 
of this crash.

regards.


# HG changeset patch
# User Samir SAADA <[email protected]>
# Date 1235903049 -3600
# Node ID dd8492658749a27333f42387f2d6d76a684ba05f
# Parent  5a2507602c48324fba0f07754a442a8cc6ab967c
Workaround for crashing at creation of more than 80 workspaces.
I limit the max number of workspaces to 80.

diff -r 5a2507602c48 -r dd8492658749 src/wconfig.h.in
--- a/src/wconfig.h.in  Sun Dec 14 19:59:05 2008 -0800
+++ b/src/wconfig.h.in  Sun Mar 01 11:24:09 2009 +0100
@@ -510,7 +510,7 @@
 #define MAX_ICON_WIDTH 60             /* size of the icon pixmap */
 #define MAX_ICON_HEIGHT 48
 
-#define MAX_WORKSPACES  100
+#define MAX_WORKSPACES  80
 
 #define MAX_MENU_TEXT_LENGTH 512
 


-- 
To unsubscribe, send mail to [email protected].

Reply via email to