summaryrefslogtreecommitdiff
path: root/openbox/place.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-01 04:46:29 +0000
committerDana Jansens <danakj@orodu.net>2007-05-01 04:46:29 +0000
commit55d2916c1e24e021d9b9692d2373dc4afff4c5c2 (patch)
treef9e4a365b33d3a94ae5481a4ff11470f11482c32 /openbox/place.c
parentc991482154d390e46298afb12d213448cc120563 (diff)
a whole lot of changes to the moving/resizing code. it was broken for non-northwest gravities. now it is not. at least, that is the idea.
Diffstat (limited to 'openbox/place.c')
-rw-r--r--openbox/place.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/place.c b/openbox/place.c
index 74aa7605..1ac295c0 100644
--- a/openbox/place.c
+++ b/openbox/place.c
@@ -489,6 +489,7 @@ gboolean place_client(ObClient *client, gint *x, gint *y,
place_random(client, x, y))))
g_assert_not_reached(); /* the last one better succeed */
/* get where the client should be */
- frame_frame_gravity(client->frame, x, y);
+ frame_frame_gravity(client->frame, x, y,
+ client->area.width, client->area.height);
return ret;
}