diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 8372886..5f9fe88 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -879,7 +879,7 @@ in } } onEntered: { - if (bar.activeDropdown && modelData.hasMenu) { + if (bar.activeDropdown && modelData.hasMenu && !(bar.activeDropdown === contextMenu && contextMenu.trayItem === modelData)) { bar.toggleDropdown(contextMenu, function() { let pos = parent.mapToItem(bar.contentItem, parent.width / 2, 0); contextMenu.dropdownX = pos.x;