Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vxfw fix focus #139

Merged
merged 2 commits into from
Dec 19, 2024
Merged

vxfw fix focus #139

merged 2 commits into from
Dec 19, 2024

Conversation

rockorager
Copy link
Owner

  • vxfw: fix focus handler
  • vxfw: don't clear ctx.cmds

The focus handler was clearing memory after each frame, losing track of
the focused widget unless a new request was made. Properly handle focus
nodes and focused widgets. Send focus_in and focus_out events on
requestFocus
We assert we have handled all commands before rendering. If we clear, we
definitely will pass the assert, even if we don't handle them all.
@rockorager rockorager merged commit a753e08 into main Dec 19, 2024
4 checks passed
@rockorager rockorager deleted the vxfw-fix-focus branch December 19, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant