diff --git a/src/modules/alwaysontop/AlwaysOnTop/WindowBorder.cpp b/src/modules/alwaysontop/AlwaysOnTop/WindowBorder.cpp index f4232b1c49..96d275ef09 100644 --- a/src/modules/alwaysontop/AlwaysOnTop/WindowBorder.cpp +++ b/src/modules/alwaysontop/AlwaysOnTop/WindowBorder.cpp @@ -133,8 +133,9 @@ bool WindowBorder::Init(HINSTANCE hinstance) return false; } - UpdateBorderProperties(); m_frameDrawer->Show(); + UpdateBorderPosition(); + UpdateBorderProperties(); m_timer_id = SetTimer(m_window, REFRESH_BORDER_TIMER_ID, REFRESH_BORDER_INTERVAL, nullptr); return true;