tauri/examples/parent-window
Amr Bashir 77f49ad55e
refactor: optimize undecorated resizing handling (#8790)
* refactor: optimize undecorated resizing handling

* license

* separate modules

* fix windows

* rename export

* fix export

* same for gtk

* shared hit_test function

* change cursor on drag

* only set cursor on windows

* Revert "only set cursor on windows"

This reverts commit 03294a8430.

* fix flickering on Windows, change cursor on motion on Linux

* remove changing cursor on move on linux

* fix linux implementation

* clippy

* Windows, on left click only

* prevent on fullscreen, use OS border size on Windows

* fix build

* clippy

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-18 15:56:57 -03:00
..
index.html chore: run pnpm format on the repo 2024-02-03 11:08:13 -03:00
main.rs refactor: optimize undecorated resizing handling (#8790) 2024-02-18 15:56:57 -03:00
README.md Support window parenting on macOS, closes #3751 (#3754) 2022-03-23 13:30:44 -03:00
tauri.conf.json feat(core): implement new config structure (#8723) 2024-02-03 00:39:48 -03:00

Parent Window Example

Run the following at the root directory of the repository to try it out: cargo run --example parent-window.