Fix a typo that prevented setting client size for the height only (???)
authorMikael Magnusson <mikachu@gmail.com>
Sun, 11 Aug 2013 00:07:32 +0000 (02:07 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Sun, 11 Aug 2013 00:07:32 +0000 (02:07 +0200)
openbox/actions/moveresizeto.c

index 4b3f269..56f21e6 100644 (file)
@@ -136,7 +136,7 @@ static gboolean run_func(ObActionsData *data, gpointer options)
 
         h = o->h;
         if (h == G_MININT) {
 
         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;
                 h = c->area.height;
             else
                 h = c->frame->area.height;