diff options
Diffstat (limited to 'desktop/island/StatusPill.qml')
| -rw-r--r-- | desktop/island/StatusPill.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/island/StatusPill.qml b/desktop/island/StatusPill.qml index ab62da8..344117c 100644 --- a/desktop/island/StatusPill.qml +++ b/desktop/island/StatusPill.qml @@ -29,6 +29,8 @@ Capsule { signal openSound() signal openDrawer() + // Emitted just before a tray menu opens; the menu cannot report its close. + signal menuShown() expanded: panel === "sound" restWidth: restRow.implicitWidth + 24 @@ -75,6 +77,7 @@ Capsule { if (!wantsMenu) { item.activate(); return; } if (!item.hasMenu) return; const p = trayIcon.mapToItem(null, 0, trayIcon.height + 6); + pill.menuShown(); item.display(pill.window, p.x, p.y); } } |
