From af6d8d3bbee69e2521771cc7815751400d97ada6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 18 Jan 2024 01:31:36 +0100 Subject: [PATCH] Don't create default menu The indicator uses its own menu that only opens on right-click, while the default menu is left empty. All that menu does is interfere with keynav in the top bar: The indicator gets the actual keyboard focus, but the previous one remains highlighted and its menu open, which leaves the impression that navigation is stuck. Omitting the menu fixes that, and doesn't interfere with the custom right-click menu. --- lgbutton@glerro.gnome.gitlab.io/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgbutton@glerro.gnome.gitlab.io/extension.js b/lgbutton@glerro.gnome.gitlab.io/extension.js index 72b5a67..04f3f28 100644 --- a/lgbutton@glerro.gnome.gitlab.io/extension.js +++ b/lgbutton@glerro.gnome.gitlab.io/extension.js @@ -46,7 +46,7 @@ let LGIndicator = GObject.registerClass({ GTypeName: 'LGIndicator', }, class LGIndicator extends PanelMenu.Button { constructor(extension) { - super(0.0, `${extension.metadata.name} Indicator`, false); + super(0.0, `${extension.metadata.name} Indicator`, true); this._extension = extension; this._extensionPath = extension.path; -- GitLab