/[gentoo-x86]/x11-wm/musca/files/musca-0.9.24_p20100226-fix-pad.patch
Gentoo

Contents of /x11-wm/musca/files/musca-0.9.24_p20100226-fix-pad.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Jun 8 18:39:40 2015 UTC (4 years, 8 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Add two more patches from Arch.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 --- a/musca.c
2 +++ b/musca.c
3 @@ -1985,7 +1985,8 @@ void group_other()
4 // resize frames to match changes in the screen border padding
5 void group_resize(group *ta, int l, int r, int t, int b)
6 {
7 - frame *f = ta->frames; int i;
8 + frame *f = ta->frames; int i, j;
9 + client *c = ta->clients;
10 int sw = ta->head->screen->width;
11 int sh = ta->head->screen->height;
12 if (l < ta->l) { frames_fill_gap(ta, l, ta->t, ta->l - l, sh - ta->b, FRAMES_ALL); ta->l = l; }
13 @@ -1998,6 +1999,8 @@ void group_resize(group *ta, int l, int r, int t, int b)
14 else if (b > ta->b) { frames_make_gap(ta, ta->l, sh - b, sw - ta->l - ta->r, b - ta->b); ta->b = b; }
15 FOR_RING (NEXT, f, ta->frames, i)
16 frame_update(f);
17 + FOR_RING (NEXT, c, ta->clients, j)
18 + client_configure(c,NULL);
19 }
20 group* group_by_name(head *h, char *name)
21 {

  ViewVC Help
Powered by ViewVC 1.1.20