tao
tao copied to clipboard
[bug or feature?]: `WS_CAPTION` is added after calling `SetWindowPos`
Describe the bug
After call SetWindowPos the WS_CAPTION style is added to the window
Steps To Reproduce
- Create a Tauri window without decorations, this should remove WS_CAPTION.
- call the tauri api for windows to change the size of the window or directly
SetWindowPoson the window - now the window has the style WS_CAPTION again.
Expected behavior If decorations are disabled WS_CAPTION shouldn't be added when window position change.
Screenshots current:
expected:
Platform and Versions (please complete the following information): OS: Windows 11 Rustc: 1.81.0