From e4147f3611d97369db5722e876982316af2d7b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 5 Nov 2019 02:36:38 +0100 Subject: [PATCH] altTab: Use correct actor in label height computation Commit f2bd39b20 removed an intermediate bin, and now we use the thumbnail bin instead of the label actor to compute the label height, whoops. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/804 --- js/ui/altTab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 1c4a23998..c2d3760a2 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -899,7 +899,7 @@ class ThumbnailList extends SwitcherPopup.SwitcherList { // St.Label doesn't support text-align x_align: Clutter.ActorAlign.CENTER, }); - this._labels.push(bin); + this._labels.push(name); box.add_actor(name); this.addItem(box, name);