slint/sixtyfps_runtime/rendering_backends
Simon Hausmann d8988cae6c Prospective fix for making invoke_from_event_loop work better in WASM
When called from inside some winit event handler, we'd go straight to
`with_window_target` to get hold of the event proxy and send it. However
when called through some external event handler (DOM), the scoped
CURRENT_WINDOW_TARGET would not be set and MAYBE_LOOP_INSTANCE would
also be empty because `run` takes it. So instead we'd end up creating an
new event loop instance and the event would sit in there forever.

Instead, this change brings WASM in line with the other platforms by
using the dedicated event loop proxy (global_proxy). Because of the lack
of threading the dance of storage for that is a little different though.
2021-12-13 15:51:28 +01:00
..
default Attempt to properly detect if the native style is available when cross compiling 2021-12-06 12:59:48 +01:00
gl Prospective fix for making invoke_from_event_loop work better in WASM 2021-12-13 15:51:28 +01:00
mcu Avoid the use of symlinks for source files 2021-12-13 15:51:10 +01:00
qt Avoid the use of symlinks for source files 2021-12-13 15:51:10 +01:00
testing Add empty set_mouse_cursor function to TestingWindow 2021-12-07 22:41:24 +01:00