Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add
WindowBuilder::with_focused
(#576)
* feat: add `WindowBuilder::with_focused` ref: tauri-apps/tauri#5120 * fix linux build * macos orderfront only * restore accept-focus * fix linux impl * remove set_transient_for call * Update src/window.rs * Update src/window.rs * Update src/platform_impl/linux/window.rs * fmt * import parent Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
- Loading branch information
1 parent
0637c60
commit e42ff07
Showing
6 changed files
with
75 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"tao": "patch" | ||
--- | ||
|
||
Add `WindowBuilder::with_focused` to specify whether to initially focus the window or not. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters