-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Window stop refreshing when main viewport minimized (glfw backend) #2416
Comments
Hello, |
You're right. I know that the rules here only deal with the contents of the imgui, For your precious time. If you are interested, I would appreciate it |
To solve this problem without modifying the code of imgui point is
When create window : And don't use the main window.(it is invisible and 1x1 pixel) You can create a window that has a main window as a parent. There are several reasons for doing this stupid thing. like border issue, render issue, task bar issue,,, many many issue..... for example -- boder issue --------------------------------- i want to use my custom border and it need "glfwWindowHint( GLFW_DECORATED, GLFW_FALSE );" if you want border function(move, resize, basic thing) and custom border but. there is easy way to solve problem. and customizing style, make border u want. anyway.. and it can solve this refreshed issue(temporarily) |
Thank you. I will investigate this further, as I don't understand why the issue is happening. |
…ort is minimized. (This is particularly useful for the viewport branch because we are not supporting per-viewport frame-buffer scale. It fixes windows not refreshing when main viewport is minimized.) (#2416)
I have fixed this bug now! (The fix is a little short-sighted as I don't want to incorporate the full DPI/framebufferscale de# the viewport/docking branch just yet, but it does the job.) |
Version/Branch of Dear ImGui:
Version: 1.69 WIP
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_opengl2.cpp + imgui_impl_glfw.cpp
Compiler: Visual Studio 2017
Operating System: Win10
My Issue/Question:
Screenshots/Video
Standalone, minimal, complete and verifiable example:
The text was updated successfully, but these errors were encountered: