You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
I'm currently on x11 running the gpu example and getting a size event upon window creation, before app.run(). Should this event be deferred until then?
The text was updated successfully, but these errors were encountered:
This is all pretty deep water, and I'm inclined not to make any deep changes right now, but rather basically follow what Druid does re event loop and window lifecycles, ie make changes in xilem to accommodate the nondeterminism in events. Currently in xilem, running the app render is too closely tied to paint.
Getting a size (and scale for that matter) really early in window creation makes a lot of sense. In fact, we probably should document it as an invariant that you get one before the first paint cycle.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm currently on x11 running the gpu example and getting a
size
event upon window creation, beforeapp.run()
. Should this event be deferred until then?The text was updated successfully, but these errors were encountered: