summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2013-08-11 02:07:32 +0200
committerMikael Magnusson <mikachu@gmail.com>2013-08-11 02:07:32 +0200
commitef868caf4c68bd999cc2f117bd61965f3e4650a9 (patch)
tree96a3bc9e60b1b49980ffacc728eb43d44a415b68 /openbox
parent21349b6046d21f7af959fb286790c977f4eead50 (diff)
Fix a typo that prevented setting client size for the height only (???)
Diffstat (limited to 'openbox')
-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;