windows window set 40*40 not work
windows window set 4040 not work
i need window size si 4040 but in windows not work ,how to get this window? help me .

I investigated this before, see https://github.com/tauri-apps/tauri/issues/6792#issuecomment-1523840871 and I couldn't find a good way to have windows smaller than this.
I'd suggest make your window transparent and only draw what you need and call https://docs.rs/tao/latest/tao/window/struct.Window.html#method.set_ignore_cursor_events when the mouse is in the transparent area.
I investigated this before, see tauri-apps/tauri#6792 (comment) and I couldn't find a good way to have windows smaller than this.
I'd suggest make your window transparent and only draw what you need and call https://docs.rs/tao/latest/tao/window/struct.Window.html#method.set_ignore_cursor_events when the mouse is in the transparent area.
Do you have a code example, please?
i get it ,use winit .
I investigated this before, see tauri-apps/tauri#6792 (comment) and I couldn't find a good way to have windows smaller than this.
I'd suggest make your window transparent and only draw what you need and call https://docs.rs/tao/latest/tao/window/struct.Window.html#method.set_ignore_cursor_events when the mouse is in the transparent area.
I don't see any way of turning the cursor events back on tho.
i get it ,use winit .
Can you tell me how to do it?
