Don't 'segfault randomly at resizing windows'.

This commit is contained in:
Kris Maglione 2007-04-15 14:05:26 -04:00
parent 61db117898
commit 8abfb9d66d
1 changed files with 2 additions and 2 deletions

View File

@ -454,11 +454,11 @@ resize_colframe(Frame *f, XRectangle *r) {
dx = a->rect.x - r->x;
dw = maxx - r_east(&a->rect);
if(dx) {
if(al) {
al->rect.width -= dx;
arrange_column(al, False);
}
if(dw) {
if(ar) {
ar->rect.width -= dw;
arrange_column(ar, False);
}