Replies: 1 comment
-
@canvural I don't think it can be done out-of-the-box with GLFW. While on passthrough, to regain focus, you'll have to refocus the window through some other way (e.g.: alt-tab into it, clicking it's button on the menu, etc). To do what you want, you'll have to implement yourself some sort of "global" keybind listening. See glfw/glfw#1204. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello 👋🏽
This is more of a design question.
I made an app that when you press the key
P
I runSetWindowState(FLAG_WINDOW_MOUSE_PASSTHROUGH);
so my window is passthrough.And once my app loses the focus it'll not get the keypresses to quit from the passthrough mode. How can solve this issue?
Beta Was this translation helpful? Give feedback.
All reactions