]> Dogcows Code - chaz/openbox/commitdiff
checked the wrong var for unmaxing
authorDana Jansens <danakj@orodu.net>
Fri, 26 Sep 2003 15:08:03 +0000 (15:08 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 26 Sep 2003 15:08:03 +0000 (15:08 +0000)
openbox/client.c

index 7b96928944434bb54246e036adc3f93ecd0af931..4fa62190bde6362cd9edeb8c680527da5d5b0339 100644 (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;
 
This page took 0.026956 seconds and 4 git commands to generate.