Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- wmii+ixp-3.9.2/cmd/wmii/frame.c~ 2011-04-01 12:28:23.000000000 +0000
- +++ wmii+ixp-3.9.2/cmd/wmii/frame.c 2011-04-01 12:29:20.000000000 +0000
- @@ -343,10 +343,9 @@
- Rectangle fr, cr;
- int collapsed, dx;
- - if(btassert("8 full", Dx(r) <= 0 || Dy(r) < 0
- - || Dy(r) == 0 && (!f->area->max || resizing)
- - && !f->collapsed)) {
- - fprint(2, "Frame rect: %R\n", r);
- + if(Dx(r) <= 0 || Dy(r) < 0
- + || Dy(r) == 0 && (!f->area->max || resizing)
- + && !f->collapsed) {
- r.max.x = min(r.min.x+1, r.max.x);
- r.max.y = min(r.min.y+1, r.max.y);
- }
- --- wmii+ixp-3.9.2/cmd/wmii/x11.c~ 2011-04-01 11:57:00.000000000 +0000
- +++ wmii+ixp-3.9.2/cmd/wmii/x11.c 2011-04-01 12:24:23.000000000 +0000
- @@ -378,9 +378,8 @@
- void
- reshapewin(Window *w, Rectangle r) {
- assert(w->type == WWindow);
- - assert(Dx(r) > 0 && Dy(r) > 0); /* Rather than an X error. */
- -
- - configwin(w, r, w->border);
- + if (Dx(r) > 0 && Dy(r) > 0)
- + configwin(w, r, w->border);
- }
- void
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement