From: Dana Jansens Date: Fri, 11 May 2007 05:55:45 +0000 (+0000) Subject: oops, debug prints X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=2baad3abeec8cb1200322bec476d804198833aa3;p=chaz%2Fopenbox oops, debug prints --- diff --git a/openbox/client.c b/openbox/client.c index af44d3b0..9ed6fd60 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3511,14 +3511,10 @@ static ObClientIcon* client_icon_recursive(ObClient *self, gint w, gint h) for (i = 1; i < self->nicons; ++i) { gulong diff; - ob_debug("icon %d %d wanted %d %d\n", - self->icons[i].width, self->icons[i].height, w, h); diff = ABS(self->icons[0].width - w) + ABS(self->icons[0].height - h); - ob_debug("dsize %u\n", diff); if (diff < min_diff) { min_diff = diff; min_i = i; - ob_debug("chose it\n"); } } return &self->icons[min_i];