projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b466d7
)
use an icon smaller than the surface if possible
author
Dana Jansens
<danakj@orodu.net>
Fri, 14 Feb 2003 08:47:37 +0000
(08:47 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 14 Feb 2003 08:47:37 +0000
(08:47 +0000)
src/client.cc
patch
|
blob
|
history
diff --git
a/src/client.cc
b/src/client.cc
index
f9676e7
..
2d7c246
100644
(file)
--- a/
src/client.cc
+++ b/
src/client.cc
@@
-1237,9
+1237,9
@@
const Icon *Client::icon(const otk::Size &s) const
li = i;
}
}
- if (
smallest == 0xffffffff) // didnt find one bigger than us...
- return &_icons[
l
i];
- return &_icons[
s
i];
+ if (
largest == 0) // didnt find one smaller than the requested size
+ return &_icons[
s
i];
+ return &_icons[
l
i];
}
void Client::move(int x, int y)