You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-wm/musca/files/musca-0.9.24_p20100226-fix-...

22 lines
818 B

--- a/musca.c
+++ b/musca.c
@@ -1985,7 +1985,8 @@ void group_other()
// resize frames to match changes in the screen border padding
void group_resize(group *ta, int l, int r, int t, int b)
{
- frame *f = ta->frames; int i;
+ frame *f = ta->frames; int i, j;
+ client *c = ta->clients;
int sw = ta->head->screen->width;
int sh = ta->head->screen->height;
if (l < ta->l) { frames_fill_gap(ta, l, ta->t, ta->l - l, sh - ta->b, FRAMES_ALL); ta->l = l; }
@@ -1998,6 +1999,8 @@ void group_resize(group *ta, int l, int r, int t, int b)
else if (b > ta->b) { frames_make_gap(ta, ta->l, sh - b, sw - ta->l - ta->r, b - ta->b); ta->b = b; }
FOR_RING (NEXT, f, ta->frames, i)
frame_update(f);
+ FOR_RING (NEXT, c, ta->clients, j)
+ client_configure(c,NULL);
}
group* group_by_name(head *h, char *name)
{