summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/focus_cycle_popup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c
index 595fb9df..07298535 100644
--- a/openbox/focus_cycle_popup.c
+++ b/openbox/focus_cycle_popup.c
@@ -413,7 +413,7 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
innerx, innery, innerw, innerh);
/* get the icon from the client */
- if ((thumb = client_thumbnail(target->client))) {
+ if ((thumb = client_thumbnail(target->client, innerw, innerh))) {
p->a_icon->texture[0].data.rgba.width = thumb->width;
p->a_icon->texture[0].data.rgba.height = thumb->height;
p->a_icon->texture[0].data.rgba.alpha =