Files
claude-code-usage-bubble/src/lib.rs
T
tiennm99 8d7a07b237 feat: hide the bubbles while another app is fullscreen
A 1.5 s thread asks the platform whether the foreground window is a
fullscreen window of another process and feeds the result through the
visibility state machine. Windows keeps the proven evaluation with an
own-process check in place of the bubble class check; Linux reads the
EWMH active window state over X11; native Wayland and macOS report false.
2026-10-21 15:58:02 +07:00

28 lines
546 B
Rust

//! Claude Code Usage Bubble on Tauri v2.
//!
//! The binary in `src/main.rs` only calls [`run`]. Every module is `pub` so
//! that items wired up incrementally do not trip `dead_code`.
pub mod badge;
pub mod bubble;
pub mod cli;
pub mod commands;
pub mod core;
pub mod creds;
pub mod diag;
pub mod fullscreen;
pub mod handoff;
pub mod menu;
pub mod net;
pub mod panel;
pub mod platform;
pub mod runtime;
pub mod scheduler;
pub mod tray;
pub mod usage;
/// Starts the application and blocks until it exits.
pub fn run() {
runtime::run();
}