checked the wrong var for unmaxing

This commit is contained in:
Dana Jansens 2003-09-26 15:08:03 +00:00
parent 4e8eff328c
commit 360d1659a1

View file

@ -2181,7 +2181,7 @@ void client_maximize(ObClient *self, gboolean max, int dir, gboolean savearea)
}
}
if ((dir == 0 || dir == 2) && self->max_vert) { /* vert */
if (self->pre_max_area.width > 0) {
if (self->pre_max_area.height > 0) {
y = self->pre_max_area.y;
h = self->pre_max_area.height;