diff --git a/NothinFancy/src/client/Window.cpp b/NothinFancy/src/client/Window.cpp index 5bfa33f..e25bc41 100644 --- a/NothinFancy/src/client/Window.cpp +++ b/NothinFancy/src/client/Window.cpp @@ -30,8 +30,6 @@ namespace nf::client { void Window::setDisplay(DisplayConfig config) { NFLog("Setting window display"); m_width = config.width, m_height = config.height; - bool wasShown = IsWindowVisible(m_handle); - show(false); // TODO: Only use "active" monitor when starting windowed POINT cursor = {}; @@ -62,8 +60,6 @@ namespace nf::client { } SetWindowPos(m_handle, nullptr, windowX, windowY, windowWidth, windowHeight, SWP_NOZORDER | SWP_FRAMECHANGED); - - show(wasShown); } void Window::runLoop() {