From 97cbacd9e41ae2315434d6e83ce78502a881d54f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 2 May 2007 02:03:06 +0000 Subject: make keeping windows on screen much more clever --- openbox/event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/event.c') diff --git a/openbox/event.c b/openbox/event.c index 5d6b62bb..6b7f4c53 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -886,7 +886,7 @@ static void event_handle_client(ObClient *client, XEvent *e) h = (e->xconfigurerequest.value_mask & CWHeight) ? e->xconfigurerequest.height : client->area.height; - client_find_onscreen(client, &x, &y, w, h, client_normal(client)); + client_find_onscreen(client, &x, &y, w, h, FALSE); client_configure_full(client, x, y, w, h, FALSE, TRUE, TRUE); } @@ -1074,7 +1074,7 @@ static void event_handle_client(ObClient *client, XEvent *e) h = client->area.height; client_convert_gravity(client, grav, &x, &y, w, h); - client_find_onscreen(client, &x, &y, w, h, client_normal(client)); + client_find_onscreen(client, &x, &y, w, h, FALSE); client_configure(client, x, y, w, h, FALSE, TRUE); } break; -- cgit v1.2.3