From 55d2916c1e24e021d9b9692d2373dc4afff4c5c2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 1 May 2007 04:46:29 +0000 Subject: 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. --- openbox/place.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/place.c') 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; } -- cgit v1.2.3