in message <[EMAIL PROTECTED]>,
wrote Klaus Umbach thusly...
>
> There's a bug I found in fvwmpager 2.5.4
> When I set NoSeparators it's got 100% CPU and does not work.
> SolidSeparators works fine.

and i thought i was alone...

  http://www.freebsd.org/cgi/query-pr.cgi?pr=44820


for those who are using fvwm 2.5.4 & don't want to build from cvs,
attached (patch-modules::FvwmPager::x_pager.c) is a patch which
cured the problem.  apply it in fvwm-2.5.4 directory.

patch was generated from differences in x_pager.c versions in fvwm
cvs (as of ~ nov 1 2002) & fvwm 2.5.4 source.


  - parv

-- 

--- modules/FvwmPager/x_pager.c.old     Thu Oct 24 00:46:59 2002
+++ modules/FvwmPager/x_pager.c Fri Nov  1 19:26:11 2002
@@ -1630,8 +1630,8 @@
                                XDrawLine(
                                        dpy,Desks[desk].w,Desks[desk].DashedGC,
                                        x1,y1,x1,y2);
-                               x += Scr.MyDisplayWidth;
                        }
+                       x += Scr.MyDisplayWidth;
                }
                y = Scr.MyDisplayHeight;
                x1 = 0;
@@ -1640,9 +1640,11 @@
                {
                        y1 = (y * desk_h) / Scr.VHeight;
                        if (!use_no_separators)
+                       {
                                XDrawLine(
                                        dpy,Desks[desk].w,Desks[desk].DashedGC,
                                        x1,y1,x2,y1);
+                       }
                        y += Scr.MyDisplayHeight;
                }
        }

Reply via email to