summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-02 02:03:06 +0000
committerDana Jansens <danakj@orodu.net>2007-05-02 02:03:06 +0000
commit97cbacd9e41ae2315434d6e83ce78502a881d54f (patch)
treef2ba21522d77d4cae565a5c98bd8e11b9d819cab /openbox/event.c
parent0da9aa2660b51ce6208b041cc6e14f15e522c289 (diff)
make keeping windows on screen much more clever
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c4
1 files changed, 2 insertions, 2 deletions
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;