Applied. Thanks!
> [EMAIL PROTECTED] - Mon Jan 16 16:32:27 2006]:
>
> Hi,
>
> There's a bug in ctwm-3.7's workspace manager: when you try to move a
> window with the mouse using its workspace manager icon, the window
> sticks
> to the right and you can't change its x position. Probably due to a
> typo
> in the code. The attached patch fixes this.
>
> Amnon
>
> --- ctwm-3.7/workmgr.c 2005-06-21 08:35:19.000000000 +0300
> +++ ctwm-3.7-bla/workmgr.c 2006-01-16 14:06:04.331235000 +0200
> @@ -2731,7 +2731,7 @@ void WMgrHandleButtonEvent (virtualScree
> winX = Scr->BorderLeft;
> newX = msw->x + XW + Scr->BorderLeft * mw->wwidth /
> vs->w;
> }
> - if (((winX + w) > vs->x - Scr->BorderRight) &&
> + if (((winX + w) > vs->w - Scr->BorderRight) &&
> ((Scr->MoveOffResistance < 0) ||
> ((winX + w) < vs->w - Scr->BorderRight + Scr-
> >MoveOffResistance))) {
> winX = vs->w - Scr->BorderRight - w;
>
>
>