diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2005-02-06 02:06:57 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2005-02-06 02:06:57 +0000 |
| commit | 3f40d6e7622df1f8d388e70e3f0ad0f6e9435948 (patch) | |
| tree | 3f02132fb6c084193f8261ddf35816e8eea85c49 /openbox/place.c | |
| parent | 64772cc6d85ba852dbdae8f1b148db1215bbc7d8 (diff) | |
more testing
Diffstat (limited to 'openbox/place.c')
| -rw-r--r-- | openbox/place.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/place.c b/openbox/place.c index 29d58734..67a1631b 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; } |
