jer 15/06/08 18:39:40 Added: musca-0.9.24_p20100226-fix-pad.patch musca-0.9.24_p20100226-fix-cycle.patch Log: Add two more patches from Arch. (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path 1.1 x11-wm/musca/files/musca-0.9.24_p20100226-fix-pad.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/musca/files/musca-0.9.24_p20100226-fix-pad.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/musca/files/musca-0.9.24_p20100226-fix-pad.patch?rev=1.1&content-type=text/plain Index: musca-0.9.24_p20100226-fix-pad.patch =================================================================== --- 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) { 1.1 x11-wm/musca/files/musca-0.9.24_p20100226-fix-cycle.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/musca/files/musca-0.9.24_p20100226-fix-cycle.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/musca/files/musca-0.9.24_p20100226-fix-cycle.patch?rev=1.1&content-type=text/plain Index: musca-0.9.24_p20100226-fix-cycle.patch =================================================================== --- a/musca.c +++ b/musca.c @@ -3202,7 +3202,7 @@ void mapnotify(XEvent *ev) handle_map(ws); head *h = head_by_root(ws->attr.root); if (is_netwmstate(ws->state, NetWMStateFullscreen)) - stack_push(h->fullscreen, (void*)ws); + stack_push(h->fullscreen, (void*)ws->w); else if (ws->attr.override_redirect || is_netwmstate(ws->state, NetWMStateAbove)) stack_push(h->above, (void*)ws->w);