On Mon, 2 May 2005, Richard Levitte - VMS Whacker wrote:

> The beta period will go on for about two weeks.  Please try this beta,
> find the bugs that still exist.  Patches will be joyfully accepted.

I have send some suggestions that are not all applied:
(http://tigerdyr.wheel.dk/ctwm-archive/1197.html).  Patch 1 is rediffed
below. I still think the prototypes should be corrected, patch 4.


diff -u ctwm-3.7-beta1/iconmgr.c ctwm-3.7-beta1_my/iconmgr.c
--- ctwm-3.7-beta1/iconmgr.c    2005-05-03 00:04:20.000000000 +0200
+++ ctwm-3.7-beta1_my/iconmgr.c 2003-12-13 04:39:07.000000000 +0100
@@ -175,7 +175,10 @@
        wmhints.flags         = InputHint | StateHint;
        XSetWMHints (dpy, p->w, &wmhints);
        p->twm_win = AddWindow(p->w, TRUE, p);
-       p->twm_win->occupation = 1 << ws->number;
+       if (ws)
+         p->twm_win->occupation = 1 << ws->number;
+       else
+         p->twm_win->occupation = 1;

        sizehints.flags       = PWinGravity;
        sizehints.win_gravity = gravity;
diff -ru ctwm-3.7-beta1/ctwm.c ctwm-3.7-beta1_my/ctwm.c
--- ctwm-3.7-beta1/ctwm.c      2003-02-21 00:07:42.000000000 +0100
+++ ctwm-3.7-beta1_my/ctwm.c   2003-12-13 00:28:31.000000000 +0100
@@ -1178,6 +1178,8 @@
     Scr->IconManagerFont.basename = DEFAULT_NICE_FONT;
     Scr->DefaultFont.font_set = NULL;
     Scr->DefaultFont.basename = DEFAULT_FAST_FONT;
+    Scr->workSpaceMgr.windowFont.font_set = NULL;
+    Scr->workSpaceMgr.windowFont.basename = DEFAULT_FAST_FONT;
 #else
 #   define DEFAULT_NICE_FONT "variable"
 #   define DEFAULT_FAST_FONT "fixed"
@@ -1194,6 +1196,8 @@
     Scr->IconManagerFont.name = DEFAULT_NICE_FONT;
     Scr->DefaultFont.font = NULL;
     Scr->DefaultFont.name = DEFAULT_FAST_FONT;
+    Scr->workSpaceMgr.windowFont.font = NULL;
+    Scr->workSpaceMgr.windowFont.name = DEFAULT_FAST_FONT;
 #endif

 }

Reply via email to