mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-28 15:29:56 +02:00
feat(window): add is_focused API (#407)
This commit is contained in:
committed by
GitHub
parent
0417b7ad60
commit
83abea3cae
File diff suppressed because one or more lines are too long
@@ -112,6 +112,7 @@ getter!(outer_size, PhysicalSize<u32>);
|
||||
getter!(is_fullscreen, bool);
|
||||
getter!(is_minimized, bool);
|
||||
getter!(is_maximized, bool);
|
||||
getter!(is_focused, bool);
|
||||
getter!(is_decorated, bool);
|
||||
getter!(is_resizable, bool);
|
||||
getter!(is_visible, bool);
|
||||
|
||||
@@ -40,6 +40,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
||||
desktop_commands::is_fullscreen,
|
||||
desktop_commands::is_minimized,
|
||||
desktop_commands::is_maximized,
|
||||
desktop_commands::is_focused,
|
||||
desktop_commands::is_decorated,
|
||||
desktop_commands::is_resizable,
|
||||
desktop_commands::is_visible,
|
||||
|
||||
Reference in New Issue
Block a user