# HG changeset patch # User Anselm R. Garbe # Date 1187113090 -7200 # Node ID 4f66942cc63bd85615686d9bcbf3d8fef6304fa7 # Parent 3a0407d4b95ba07177009cd20de23b14348e1e6e fix of resize (thanks Sander for the hint!) diff -r 3a0407d4b95b -r 4f66942cc63b client.c --- a/client.c Tue Aug 14 07:54:51 2007 +0200 +++ b/client.c Tue Aug 14 19:38:10 2007 +0200 @@ -272,9 +272,9 @@ w -= (w - c->basew) % c->incw; if(c->inch) h -= (h - c->baseh) % c->inch; - if(w <= 0 || h <= 0) - return; } + if(w <= 0 || h <= 0) + return; /* offscreen appearance fixes */ if(x > sw) x = sw - w - 2 * c->border;