Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

wmii-fixed-aspect-fix.patch: forgot what this does

  • Loading branch information...
commit 49ebfa65b58566f3fce37910cbf25a41a1e3a366 1 parent 4ef2234
@sunaku authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/libstuff/x11/insanity/sizehint.c
View
2  lib/libstuff/x11/insanity/sizehint.c
@@ -30,7 +30,7 @@ sizehint(WinHints *h, Rectangle r) {
aspect = h->aspect.min;
if(p.x * aspect.y / p.y < aspect.x)
- r.max.y = h->baspect.y
+ r.max.y = 1 + h->baspect.y
+ p.x * aspect.y / aspect.x;
aspect = h->aspect.max;
Please sign in to comment.
Something went wrong with that request. Please try again.