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`. |
||
|---|---|---|
| .. | ||
| app.rs | ||
| mod.rs | ||
| status_menu.rs | ||