summaryrefslogtreecommitdiffstats
path: root/extensions/45/vertical-workspaces/lib/windowAttentionHandler.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--extensions/45/vertical-workspaces/lib/windowAttentionHandler.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/extensions/45/vertical-workspaces/lib/windowAttentionHandler.js b/extensions/45/vertical-workspaces/lib/windowAttentionHandler.js
index d49c1ad..744f5b6 100644
--- a/extensions/45/vertical-workspaces/lib/windowAttentionHandler.js
+++ b/extensions/45/vertical-workspaces/lib/windowAttentionHandler.js
@@ -3,7 +3,7 @@
* windowAttentionHandler.js
*
* @author GdH <G-dH@github.com>
- * @copyright 2022 - 2023
+ * @copyright 2022 - 2024
* @license GPL-3.0
*
*/
@@ -87,7 +87,13 @@ const WindowAttentionHandlerCommon = {
const app = this._tracker.get_window_app(window);
// const source = new WindowAttentionHandler.WindowAttentionSource(app, window);
- const source = new MessageTray.Source(app.get_name());
+ let args;
+ if (!Main.overview.dash.add_actor) // detects GS 46 - Clutter.Container has been removed
+ args = { title: app.get_name() };
+ else
+ args = app.get_name();
+
+ const source = new MessageTray.Source(args);
new Me.Util.Overrides().addOverride('MessageSource', source, WindowAttentionSourceCommon);
source._init(app, window);
Main.messageTray.add(source);