From: Mikael Magnusson Date: Sun, 6 Feb 2005 01:52:15 +0000 (+0000) Subject: test X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=bdf5d409e5c10cc4b37658491ccbba75978c5141;p=chaz%2Fopenbox test --- diff --git a/openbox/place.c b/openbox/place.c index 86af6b9d..a098921d 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -324,9 +324,9 @@ static gboolean place_under_mouse(ObClient *client, gint *x, gint *y) b = area->y + area->height - client->frame->area.height; *x = px - client->area.width / 2 - client->frame->size.left; - *x = MIN(MAX(*x, l), r); +// *x = MIN(MAX(*x, l), r); *y = py - client->area.height / 2 - client->frame->size.top; - *y = MIN(MAX(*y, t), b); +// *y = MIN(MAX(*y, t), b); return TRUE; } @@ -375,8 +375,9 @@ static gboolean place_transient(ObClient *client, gint *x, gint *y) void place_client(ObClient *client, gint *x, gint *y) { + gint rude = 1; if (client->positioned) - return; + rude = 0; if (place_transient(client, x, y) || ((config_place_policy == OB_PLACE_POLICY_MOUSE) ? place_under_mouse(client, x, y) :