From f70efbb9637167315451915b28fffaa36ce73560 Mon Sep 17 00:00:00 2001 From: Silent Date: Mon, 5 Aug 2019 21:46:00 +0200 Subject: [PATCH] WinUpdater: Create updater window as hidden by default UpdaterCommon attempts to hide updater window directly after creating, so creating it hidden avoids the window from showing for a split second --- Source/Core/WinUpdater/WinUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/WinUpdater/WinUI.cpp b/Source/Core/WinUpdater/WinUI.cpp index 97f2da459b..6958be9d40 100644 --- a/Source/Core/WinUpdater/WinUI.cpp +++ b/Source/Core/WinUpdater/WinUI.cpp @@ -45,7 +45,7 @@ LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) }; // namespace constexpr int PROGRESSBAR_FLAGS = WS_VISIBLE | WS_CHILD | PBS_SMOOTH | PBS_SMOOTHREVERSE; -constexpr int WINDOW_FLAGS = WS_VISIBLE | WS_CLIPCHILDREN; +constexpr int WINDOW_FLAGS = WS_CLIPCHILDREN; constexpr int PADDING_HEIGHT = 5; namespace UI