[gnome-shell/wip/exalm/gestures: 2/13] workspacesView: Update position when n-workspaces changes
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/exalm/gestures: 2/13] workspacesView: Update position when n-workspaces changes
- Date: Tue, 15 Oct 2019 07:28:30 +0000 (UTC)
commit 2362b561b11d64b67610e73a9f2cb1fb6f901b24
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Tue Oct 15 12:22:53 2019 +0500
workspacesView: Update position when n-workspaces changes
Avoid showing wrong workspace after a workspace above the active one is
removed
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/605
js/ui/workspacesView.js | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index 19076df0b1..dd20134b70 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -435,6 +435,8 @@ var WorkspacesDisplay = class {
workspaceManager.connect('workspaces-reordered',
this._workspacesReordered.bind(this));
+ workspaceManager.connect('notify::n-workspaces',
+ this._activeWorkspaceChanged.bind(this));
let clickAction = new Clutter.ClickAction();
clickAction.connect('clicked', action => {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]