openbsd-ports/x11/wmii/patches/patch-cmd_wm_area_c
steven be6d067c3a update to wmii-3.1, bugfix release
from maintainer Tobias Ulmer
2006-06-17 17:42:03 +00:00

12 lines
431 B
Plaintext

--- cmd/wm/area.c.orig Sat Jun 17 13:44:30 2006
+++ cmd/wm/area.c Sat Jun 17 19:39:01 2006
@@ -150,7 +150,7 @@ place_client(Area *a, Client *c)
static unsigned int mx, my;
static Bool *field = nil;
Bool fit = False;
- unsigned int i, j, k, x, y, maxx, maxy, dx, dy, cx, cy, diff;
+ unsigned int i, j, k, x, y, maxx, maxy, dx, dy, cx = 0, cy = 0, diff;
XPoint p1 = {0, 0}, p2 = {0, 0};
Frame *f = c->frame.data[c->sel];