Skip to content

Commit 78c6f9e

Browse files
committed
Fix desktop tray behavior on macOS and Linux
1 parent 00e154f commit 78c6f9e

2 files changed

Lines changed: 515 additions & 40 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ fontdb = "0.23"
7575

7676
[target.'cfg(any(windows, target_os = "macos"))'.dependencies]
7777
eframe = { version = "0.31", default-features = false, features = ["glow", "default_fonts"] }
78+
raw-window-handle = "0.6"
7879
tray-icon = "0.19"
7980
winit = "0.30"
8081

@@ -87,7 +88,6 @@ ksni = { version = "0.3.4", features = ["blocking"] }
8788
winit = "0.30"
8889

8990
[target.'cfg(windows)'.dependencies]
90-
raw-window-handle = "0.6"
9191
windows-sys = { version = "0.61", features = [
9292
"Win32_Foundation",
9393
"Win32_Storage_FileSystem",

0 commit comments

Comments
 (0)