treeform/windy

startMove instead of pos=

levovix0 opened this issue · 4 comments

Setting (toplevel) window coordinates (relative to the screen) is not available on Wayland.
Setting window pos often used to let user move window when it is client-side decorated, and this behavior is available on Wayland.
So add function to start interactive window moving and remove or mark as not cross-platform pos=

I agree we will have to have start/stop window move on platforms that don't have pos=.

Do you know if other platforms support "start/stop window move" or we would have to emulate that?

We will have more of these as we support other operating systems like iOS, Android or WASM they will have window properties that are not valid for those systems.

Feel free to add startMove/stopMove to Wayland windows. Then see if you can do x11? We can eventually add that to win and mac.