diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2019-06-13 21:17:03 +0200 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2019-06-13 21:17:30 +0200 |
commit | 7218546be95e2badc1a34007c6fa84d3979d1bf5 (patch) | |
tree | 70e8b894df14ca530a12631a9eca26890640046b /src/client.c | |
parent | 703c45fb6f3b3aaa5aaa5a4a01fcff75af8427f1 (diff) | |
download | xfwm4-7218546be95e2badc1a34007c6fa84d3979d1bf5.tar.gz |
icons: Refactor getAppIcon()
There is no reason for `getAppIcon()` API to differ from its counterpart
`getClientIcon()`.
Use the same API so for both.
Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
Diffstat (limited to 'src/client.c')
-rw-r--r-- | src/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c index b808fbfe7..3bb7a7f10 100644 --- a/src/client.c +++ b/src/client.c @@ -1499,7 +1499,7 @@ clientUpdateIconPix (Client *c) if (size > 1) { - icon = getAppIcon (screen_info, c->window, size, size); + icon = getAppIcon (c, size, size); if (icon) { for (i = 0; i < STATE_TOGGLED; i++) |