blob: b20aeeb21d9a9a776d75d45735ea9bf2f5cbee5a (
plain)
1 diff -Nru evilwm-1.0.0.orig/screen.c evilwm-1.0.0/screen.c
2 --- evilwm-1.0.0.orig/screen.c 2007-08-09 12:13:46.000000000 +0200
3 +++ evilwm-1.0.0/screen.c 2007-08-09 12:11:34.000000000 +0200
4 @@ -313,8 +313,8 @@
5 } else {
6 c->oldx = c->x;
7 c->oldw = c->width;
8 - c->x = 0;
9 - c->width = DisplayWidth(dpy, c->screen->screen);
10 + c->x = 1;
11 + c->width = DisplayWidth(dpy, c->screen->screen) - 2;
12 }
13 }
14 if (hv & MAXIMISE_VERT) {
15 @@ -325,8 +325,8 @@
16 } else {
17 c->oldy = c->y;
18 c->oldh = c->height;
19 - c->y = 0;
20 - c->height = DisplayHeight(dpy, c->screen->screen);
21 + c->y = 1;
22 + c->height = DisplayHeight(dpy, c->screen->screen) - 2;
23 }
24 }
25 moveresize(c);
|