8000 Window focus events by jusax23 · Pull Request #369 · not-fl3/miniquad · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Window focus events #369

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

Merged
merged 2 commits into from
Apr 18, 2023
Merged

Window focus events #369

merged 2 commits into from
Apr 18, 2023

Conversation

jusax23
Copy link
Contributor
@jusax23 jusax23 commented Apr 14, 2023

Added window_minimized_event and window_restored_event for linux_x11 and wasm.
These events will be called on focus change events.
The names of this events are maybe not the best,
but I think this way is better then implementing a new event?!
changes:

  • added extern fn focus in wasm.rs
  • added a call to this fn in gl.js
  • added calls from XEvent 9 and 10 to the window_events

jusax23 added 2 commits April 14, 2023 22:21
and window_restored_event for linux_x11 and wasm.
These events will be called on focus change events.
The names of this events are maybe not the best,
but I think this way is better then implementing a new event?!
changes:
- added extern fn focus in wasm.rs
- added a call to this fn in gl.js
- added calls from XEvent 9 and 10 to the window_events
@not-fl3
Copy link
Owner
not-fl3 commented Apr 18, 2023

sorry for delay with reviews

Thanks!

@not-fl3 not-fl3 merged commit 5031647 into not-fl3:master Apr 18, 2023
not-fl3 pushed a commit that referenced this pull request May 31, 2023
native/wasm: implement window_minimized_event

- added extern fn focus in wasm.rs
- added a call to this fn in gl.js
- added calls from XEvent 9 and 10 to the window_events
not-fl3 pushed a commit that referenced this pull request May 31, 2023
native/wasm: implement window_minimized_event

- added extern fn focus in wasm.rs
- added a call to this fn in gl.js
- added calls from XEvent 9 and 10 to the window_events
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.

2 participants
0