diff --git a/.changes/focused-true.md b/.changes/focused-true.md new file mode 100644 index 000000000..e77a80803 --- /dev/null +++ b/.changes/focused-true.md @@ -0,0 +1,5 @@ +--- +"tao": "patch" +--- + +Change `WebviewAttributes::focused` default to `true`. \ No newline at end of file diff --git a/src/window.rs b/src/window.rs index 10041ae51..c309b8715 100644 --- a/src/window.rs +++ b/src/window.rs @@ -268,7 +268,7 @@ impl Default for WindowAttributes { window_icon: None, window_menu: None, preferred_theme: None, - focused: false, + focused: true, content_protection: false, } }