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

Imgui viewport on top of all windows. #222

Open
Wolf65 opened this issue Sep 18, 2023 · 5 comments · May be fixed by #314
Open

Imgui viewport on top of all windows. #222

Wolf65 opened this issue Sep 18, 2023 · 5 comments · May be fixed by #314
Labels
question Further information is requested

Comments

@Wolf65
Copy link

Wolf65 commented Sep 18, 2023

Perhaps someone has done it so that all individual imgui windows would be on top of all windows. Of course, it is unlikely to work on a pure glfw.

@gucio321
Copy link
Collaborator

It's most likely not issue for us: I've checked imgui example for glfw recently and it does the same

@AllenDang
Copy link
Owner

Yeah, should check the glfw's document and we might need to export few things to support if needed.

@Wolf65
Copy link
Author

Wolf65 commented Sep 18, 2023

I can just do glfw (floating/always on top) for now, but imgui child windows I can't get on top of all windows. And I can't find an example of how to implement this.

@gucio321
Copy link
Collaborator

@Wolf65 are you able to do this on c++ imgui's glfw example?

@Wolf65
Copy link
Author

Wolf65 commented Sep 20, 2023

what I've come to so far:

  • to disable viewport because at the moment there is no possibility to place always on top of it
  • glfw seems to need to be updated to 3.4 to support GLFW_MOUSE_PASSTHROUGH this flag will allow clicking through the glfw window. Also in the docking branch in imgui_impl_glfw.cpp there is at first glance mention of GLFW_MOUSE_PASSTHROUGH.

What is needed besides replacing in thirdparty/glfw with the current version. After replacement still Invalid window hint 0x0002000D

@gucio321 gucio321 added the question Further information is requested label Sep 19, 2024
@gucio321 gucio321 linked a pull request Sep 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants