X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fplace.c;h=6669a28e4c5fa42723c064e3acb527ed2c8f5ffc;hb=f24cd3fc9dc8c06cfec43938ef8aa3d0fddeb0b5;hp=86af6b9d78a7815597f734be8aa2637da12542e9;hpb=52c345c3002fe7bb134d35cb5446fa2601ff192f;p=chaz%2Fopenbox diff --git a/openbox/place.c b/openbox/place.c index 86af6b9d..6669a28e 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -385,15 +385,6 @@ void place_client(ObClient *client, gint *x, gint *y) place_smart(client, x, y, SMART_FOCUSED) || place_random(client, x, y))) { - /* make sure the window is visible. */ - client_find_onscreen(client, x, y, - client->frame->area.width, - client->frame->area.height, - /* non-normal clients has less rules, and - windows that are being restored from a session - do also. we can assume you want it back where - you saved it */ - client_normal(client) && !client->session); /* get where the client should be */ frame_frame_gravity(client->frame, x, y); } else