fix(status-area): implement activate on left-click with menu fallback
This commit is contained in:
parent
2f1b47f2b8
commit
9db4ebdc2d
2 changed files with 57 additions and 14 deletions
|
|
@ -50,7 +50,7 @@ impl StatusNotifierItem {
|
|||
let menu_path = item_proxy.menu().await;
|
||||
|
||||
// Why would an item say it has no menu but provide a menu path? Slack does this.
|
||||
let mut is_menu = menu_path.is_ok() || is_menu.unwrap_or(false);
|
||||
let is_menu = menu_path.is_ok() || is_menu.unwrap_or(false);
|
||||
|
||||
if !is_menu {
|
||||
return Ok(Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue