feat(webview-window): add set_simple_fullscreen to WebviewWindow (#14619)

* feat(webview): add set_simple_fullscreen to WebviewWindow

* add changes

* Combine per platform fn to one

---------

Co-authored-by: Tony <legendmastertony@gmail.com>
This commit is contained in:
Luke
2026-01-19 12:38:37 +09:00
committed by GitHub
parent 0575dd287e
commit e919a760ed
4 changed files with 61 additions and 17 deletions

View File

@@ -0,0 +1,7 @@
---
'tauri': 'minor:feat'
---
Add `set_simple_fullscreen` method to `WebviewWindow`.
This method was already available on the `Window` type and is now also available on `WebviewWindow` for consistency. On macOS, it toggles fullscreen mode without creating a new macOS Space. On other platforms, it falls back to regular fullscreen.