Adopt gtk_popup overlay helpers and singleton::toggle_or_kill
Some checks failed
check / check (push) Failing after 1m16s
dev release / build (push) Successful in 3m17s

Replace the TOCTOU pid-file toggle with bread_utils::singleton and
the hand-rolled layer-shell overlay/Up-Down/click-outside with
gtk_popup, matching breadclip. Screenshot runs still skip the lock.
This commit is contained in:
Breadway 2026-08-23 14:39:11 +08:00
parent 1ce5f72819
commit 4bfcc694bd
3 changed files with 47 additions and 114 deletions

2
Cargo.lock generated
View file

@ -230,6 +230,8 @@ source = "git+https://git.breadway.dev/Breadway/bread-ecosystem?tag=v0.7.2#30517
dependencies = [
"bread-shared",
"dirs",
"gtk4",
"gtk4-layer-shell",
"serde",
"serde_json",
]