summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/openbox/client.c b/openbox/client.c
index adbab7a7..70b13c7e 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -323,6 +323,7 @@ void client_manage(Window window)
place_client(self, &x, &y);
+ /* make sure the window is visible */
client_find_onscreen(self, &x, &y,
self->frame->area.width,
self->frame->area.height,
@@ -334,9 +335,6 @@ void client_manage(Window window)
TRUE, TRUE);
}
- /* make sure the window is visible */
- client_move_onscreen(self, client_normal(self));
-
client_showhide(self);
/* use client_focus instead of client_activate cuz client_activate does