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

Remove focus flag and ImguiRenderLoopFlags #123

Merged
merged 2 commits into from
Aug 19, 2023
Merged

Remove focus flag and ImguiRenderLoopFlags #123

merged 2 commits into from
Aug 19, 2023

Conversation

veeenu
Copy link
Owner

@veeenu veeenu commented Aug 19, 2023

This PR deprecates the ImguiRenderLoopFlags.
This is a breaking change, but it simplifies the outer API.

There is no need for that "focused" flag as it was only ever updated by a WM_ACTIVATE event. No other events would arrive when the windows is inactive anyway, so there is no way of getting spurious inputs, which the flag was originally intended for anyway, back when the input loop would use GetAsyncKeyState.

Closes #120.

@veeenu veeenu merged commit 493a88b into main Aug 19, 2023
1 check passed
@veeenu veeenu deleted the white-flag branch August 19, 2023 08:14
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.

ImguiRenderLoopFlags is never updated
1 participant