projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcf86d6
)
merge r6333 from trunk
author
Dana Jansens
<danakj@orodu.net>
Fri, 11 May 2007 05:56:01 +0000
(
05:56
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 11 May 2007 05:56:01 +0000
(
05:56
+0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index af44d3b0d5af51fa61fc2699296e858bf4952485..9ed6fd60998331e95502ea6d189fbddcfb4e36c6 100644
(file)
--- 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];