Merge remote-tracking branch 'dana/work' into wip/mikabox
[mikachu/openbox.git] / openbox / actions / moveresizeto.c
index 20dd70f..fcc0149 100644 (file)
@@ -136,7 +136,7 @@ static gboolean run_func(ObActionsData *data, gpointer options)
 
         h = o->h;
         if (h == G_MININT) {
-            if (o->w_sets_client_size)
+            if (o->h_sets_client_size)
                 h = c->area.height;
             else
                 h = c->frame->area.height;