Package: fvwm
Version: 1:2.5.30.ds-1bfw1
Severity: minor

The FvwmTaskBar uses the old border size in case of an M_ADD_WINDOW or
M_CONFIGURE_WINDOW Message instead the new one. This leads to the problem, that
the TaskBar doesn't recalculate it's correct size.

It's a trivial patch for an trivial problem:
--- a/modules/FvwmTaskBar/FvwmTaskBar.c
+++ b/modules/FvwmTaskBar/FvwmTaskBar.c
@@ -489,8 +490,8 @@ void ProcessMessage(unsigned long type,unsigned long *body)
       int nth;
 
       nb = (short)cfgpacket->border_width;
-      nw = screen_g.width - (win_border<<1);
-      nh = (int)cfgpacket->frame_height - (win_border<<1);
+      nw = screen_g.width - (nb<<1);
+      nh = (int)cfgpacket->frame_height - (nb<<1);
       nht = HAS_TITLE(cfgpacket);
       ntd = GET_TITLE_DIR(cfgpacket);
       nth = (int)cfgpacket->title_height;



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to