diff --git a/src/modules/alwaysontop/AlwaysOnTop/WindowBorder.cpp b/src/modules/alwaysontop/AlwaysOnTop/WindowBorder.cpp index 763a9770f7..258beda57d 100644 --- a/src/modules/alwaysontop/AlwaysOnTop/WindowBorder.cpp +++ b/src/modules/alwaysontop/AlwaysOnTop/WindowBorder.cpp @@ -246,9 +246,17 @@ LRESULT WindowBorder::WndProc(UINT message, WPARAM wparam, LPARAM lparam) noexce case WM_ERASEBKGND: return TRUE; - // prevent from beeping if the border was clicked + // Prevent from beeping if the border was clicked case WM_SETCURSOR: + { + HCURSOR hCursor = LoadCursorW(nullptr, IDC_ARROW); + if (hCursor) + { + SetCursor(hCursor); + } + return TRUE; + } default: {