[gnome-shell] workspaceThumbnail: Update visibility when showing the overview
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] workspaceThumbnail: Update visibility when showing the overview
- Date: Thu, 4 Mar 2021 14:04:26 +0000 (UTC)
commit 7a57528bd7940e68c404d15d398f88730821cec9
Author: Jonas Dreßler <verdre v0yd nl>
Date: Thu Mar 4 08:14:03 2021 +0100
workspaceThumbnail: Update visibility when showing the overview
There's currently a bug that we continue showing the workspace minimap
when the number of workspaces changes back to 1 during the session (ie.
outside the overview). Fix that by also updating the workspaceThumbnails
visibility when entering the overview.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3819
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1741>
js/ui/workspaceThumbnail.js | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js
index 79c8df2249..cf03756a55 100644
--- a/js/ui/workspaceThumbnail.js
+++ b/js/ui/workspaceThumbnail.js
@@ -1018,6 +1018,8 @@ var ThumbnailsBox = GObject.registerClass({
this._stateCounts[ThumbnailState[key]] = 0;
this.addThumbnails(0, workspaceManager.n_workspaces);
+
+ this._updateShouldShow();
}
_destroyThumbnails() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]