diff --git a/README.md b/README.md index d399b7790..2c4345146 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ For format patterns, libraries, magic and constant files, check out the [ImHex-P To use ImHex, the following minimal system requirements need to be met: -- **OS**: Windows 10 or higher, macOS 10.10 (Yosemite) or higher, "Modern" Linux (Ubuntu 22.04+, Fedora Stable/Rawhide and Arch Linux are officially supported) +- **OS**: Windows 7 or higher, macOS 10.10 (Yosemite) or higher, "Modern" Linux (Ubuntu 22.04+, Fedora Stable/Rawhide and Arch Linux are officially supported) - **CPU**: x86_64 (64 Bit) - **GPU**: OpenGL 3.0 or higher (preferable a dedicated GPU and not Intel HD Graphics) - **RAM**: 512MB, more may be required for more complicated analysis diff --git a/main/source/window/window.cpp b/main/source/window/window.cpp index fb94b0b7f..b3f9aee83 100644 --- a/main/source/window/window.cpp +++ b/main/source/window/window.cpp @@ -103,6 +103,9 @@ namespace hex { this->initImGui(); this->setupNativeWindow(); + // Initialize default theme + EventManager::post(1); + EventManager::subscribe(this, [this](bool noQuestions) { glfwSetWindowShouldClose(this->m_window, GLFW_TRUE); diff --git a/plugins/windows/source/plugin_windows.cpp b/plugins/windows/source/plugin_windows.cpp index 403fb3444..8d4cf72f5 100644 --- a/plugins/windows/source/plugin_windows.cpp +++ b/plugins/windows/source/plugin_windows.cpp @@ -37,8 +37,10 @@ static void detectSystemTheme() { if (error == ERROR_SUCCESS) { EventManager::post(value == 0 ? 1 : 2); } else { - EventManager::post(1); + ImHexApi::System::impl::setBorderlessWindowMode(false); } + } else { + ImHexApi::System::impl::setBorderlessWindowMode(false); } });