fix of resize (thanks Sander for the hint!)
8fcc4ff0
1 file(s) · +2 −2
| 272 | 272 | w -= (w - c->basew) % c->incw; |
|
| 273 | 273 | if(c->inch) |
|
| 274 | 274 | h -= (h - c->baseh) % c->inch; |
|
| 275 | - | if(w <= 0 || h <= 0) |
|
| 276 | - | return; |
|
| 277 | 275 | } |
|
| 276 | + | if(w <= 0 || h <= 0) |
|
| 277 | + | return; |
|
| 278 | 278 | /* offscreen appearance fixes */ |
|
| 279 | 279 | if(x > sw) |
|
| 280 | 280 | x = sw - w - 2 * c->border; |