X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=83ea46f15d9a68402559f9002458d6496c4f72b9;hb=28df6162a9fbca4544e8f384d3fdae70870f531a;hp=3fe3faa189cfb5b94e18a2375dbdb4ce4e818f89;hpb=cfce98840ac138675971f8421032da9e0030ecc7;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index 3fe3faa1..83ea46f1 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -345,9 +345,11 @@ void client_manage(Window window, ObPrompt *prompt) Rect *r; r = screen_area(self->desktop, SCREEN_AREA_ALL_MONITORS, NULL); - place.x = r->x; - place.y = r->y; - ob_debug("Moving buggy app from (0,0) to (%d,%d)", r->x, r->y); + if (r->x || r->y) { + place.x = r->x; + place.y = r->y; + ob_debug("Moving buggy app from (0,0) to (%d,%d)", r->x, r->y); + } g_slice_free(Rect, r); }