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

eframe: Read and request window focus #2900

Merged
merged 3 commits into from
Apr 18, 2023
Merged

Conversation

TicClick
Copy link
Contributor

@TicClick TicClick commented Apr 13, 2023

allows to determine if the window is active, and make it gain focus if necessary.

while 54415f9 may be not quite in spirit of the framework, I understand if you push back on it, but at least I found it useful for my purposes.

@emilk
Copy link
Owner

emilk commented Apr 18, 2023

Great - thanks!

@emilk emilk merged commit 6f1e667 into emilk:master Apr 18, 2023
@emilk emilk added feature New feature or request eframe Relates to epi and eframe labels Apr 18, 2023
@emilk emilk changed the title eframe: read the state of native window's input focus and request it eframe: Read and request window focus Apr 18, 2023
@TicClick TicClick deleted the test-set-focus branch April 18, 2023 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eframe Relates to epi and eframe feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants