cosmic-applets/cosmic-applet-status-area/src/components
Ian Douglas Scott fe0e4bf409 status-area: Use ItemIsMenu correctly
The comment that was previously here assumed that `ItemIsMenu` should be
defined for any status item that has a menu, but the FreeDesktop spec
rather defines it as an item that "only supports the context menu", so
we should open the menu instead of trying to call `Activate`.

This change won't affect behavior if `ItemIsMenu` is true, but `Activate`
errors, except by opening the menu without having to wait for that
errror first. It will fix the left click to open menu behavior if any
client defines that method to not error, but does set `ItemIsMenu`.
2026-02-02 10:34:25 -08:00
..
app.rs status-area: Use ItemIsMenu correctly 2026-02-02 10:34:25 -08:00
mod.rs chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
status_menu.rs status-area: Don't try to call activate() in status_menu 2026-02-02 10:34:25 -08:00