mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
impr: Force reset window decoration to expected value after exiting full screen mode
This commit is contained in:
@@ -541,6 +541,7 @@ namespace hex::plugin::builtin {
|
||||
glfwSetWindowMonitor(window, monitor, 0, 0, videoMode->width, videoMode->height, videoMode->refreshRate);
|
||||
} else {
|
||||
glfwSetWindowMonitor(window, nullptr, position.x, position.y, size.x, size.y, 0);
|
||||
glfwSetWindowAttrib(window, GLFW_DECORATED, ImHexApi::System::isBorderlessWindowModeEnabled() ? GLFW_FALSE : GLFW_TRUE);
|
||||
}
|
||||
|
||||
}, []{ return true; }, []{ return glfwGetWindowMonitor(ImHexApi::System::getMainWindowHandle()) != nullptr; });
|
||||
|
||||
Reference in New Issue
Block a user