diff --git a/js/ui/ctrlAltTab.js b/js/ui/ctrlAltTab.js index 46c2a7bf0..fbc7a0f5f 100644 --- a/js/ui/ctrlAltTab.js +++ b/js/ui/ctrlAltTab.js @@ -93,9 +93,10 @@ var CtrlAltTabManager = class CtrlAltTabManager { if (app) { icon = app.create_icon_texture(POPUP_APPICON_SIZE); } else { - icon = textureCache.bind_cairo_surface_property(windows[i], - 'icon', - POPUP_APPICON_SIZE); + icon = new St.Icon({ + gicon: textureCache.bind_cairo_surface_property(windows[i], 'icon'), + icon_size: POPUP_APPICON_SIZE, + }); } }