-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
Is your feature request related to a problem? Please describe.
It's not possible to save the user's preference of window size or maximization.
Describe the solution you'd like
Rust window events that fire when the window is resized or maximized.
Describe alternatives you've considered
I have looked into detecting window maximization via JavaScript but it is impossible.
Currently JavaScript's onresize event is satisfactory to save the user's preferred window size.
Additional context
tauri-winit has a Window::is_maximized function on Windows and macOS:
However, Linux seems to be unimplemented:
A PR seems to have implemented it, but it's been sitting around since February. Looks like you guys made the right decision to make your own winit branch!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels