summaryrefslogtreecommitdiff
path: root/openbox/actions/moveresizeto.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/actions/moveresizeto.c')
-rw-r--r--openbox/actions/moveresizeto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/actions/moveresizeto.c b/openbox/actions/moveresizeto.c
index 4b3f2699..56f21e61 100644
--- a/openbox/actions/moveresizeto.c
+++ b/openbox/actions/moveresizeto.c
@@ -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;