use an icon smaller than the surface if possible
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/client.cc
→
src/client.cc
@@ -1237,9 +1237,9 @@ largest = size;
li = i; } } - if (smallest == 0xffffffff) // didnt find one bigger than us... - return &_icons[li]; - return &_icons[si]; + if (largest == 0) // didnt find one smaller than the requested size + return &_icons[si]; + return &_icons[li]; } void Client::move(int x, int y)