summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c
index b1a70dd4..bbd87a9d 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -805,7 +805,8 @@ static void event_handle_client(ObClient *client, XEvent *e)
client->frame->size.left + client->frame->size.right;
int fh = h +
client->frame->size.top + client->frame->size.bottom;
- client_find_onscreen(client, &newx, &newy, fw, fh, TRUE);
+ client_find_onscreen(client, &newx, &newy, fw, fh,
+ client_noral(self));
if (e->xconfigurerequest.value_mask & CWX)
x = newx;
if (e->xconfigurerequest.value_mask & CWY)
@@ -1008,7 +1009,8 @@ static void event_handle_client(ObClient *client, XEvent *e)
client->frame->size.left + client->frame->size.right;
int fh = h +
client->frame->size.top + client->frame->size.bottom;
- client_find_onscreen(client, &newx, &newy, fw, fh, TRUE);
+ client_find_onscreen(client, &newx, &newy, fw, fh,
+ client_normal(self));
if (e->xclient.data.l[0] & 1 << 8)
x = newx;
if (e->xclient.data.l[0] & 1 << 9)