In message <[EMAIL PROTECTED]> on Wed, 16 Jun 2004 18:09:25 +0300, "Zvi Har'El" 
<[EMAIL PROTECTED]> said:

rl> I am sorry, but I wouldn't have written to you again unless I
rl> already had the in my .ctwmrc file the line
rl> 
rl>     StartInMapState
rl> 
rl> and it had no effect. My apologies for not mentioning it in my
rl> email. I also noticed that DontToggleWorkSpaceManagerState does an
rl> effect, but obviously not the one I need, since ctwm starts in the
rl> wrong state from my point of view. Is it possible that the place
rl> the StartInMapState appears? I have it in the very beginning on
rl> the file, before I have any refernece to the WorkSpaceManager.

In ctwm.c, try the following change, and see if that changes ctwm to
the better for you:

Index: ctwm.c
===================================================================
RCS file: /orgs/lp/free/cvs/X/ctwm/ctwm.c,v
retrieving revision 1.9
diff -u -r1.9 ctwm.c
--- ctwm.c      16 Jun 2004 13:17:03 -0000      1.9
+++ ctwm.c      16 Jun 2004 16:27:54 -0000
@@ -728,7 +728,6 @@
        InitWorkSpaceManager ();
 
        InitVirtualScreens (Scr);
-       ConfigureWorkSpaceManager ();
 
        /* Parse it once for each screen. */
        if(cfgchk) {
@@ -745,6 +744,8 @@
          {
            ParseTwmrc(InitFile);
          }
+
+       ConfigureWorkSpaceManager ();
 
        if (ShowWelcomeWindow && ! screenmasked) MaskScreen (NULL);
        if (Scr->ClickToFocus) {

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte     | http://richard.levitte.org/ | Tunnlandsv. 52
Levitte Programming | http://www.lp.se/           | S-168 36 Bromma
T: +46-708-26 53 44 |                             | SWEDEN
     "Price, performance, quality...  choose the two you like"

Reply via email to