Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.
This repository was archived by the owner on Dec 3, 2025. It is now read-only.

Windows HSCURSOR not staying updated #636

@rodydavis

Description

@rodydavis

I created the window_utils plugin and there is an issue when updating the windows cursor. I can change the cursor but it is instantly reset by the application but you can see the correct cursor flash for a second. MacOS works fine. Other calls on the plugin work great on windows too.

https://github.com/rive-app/window-utils/issues/8

I am calling the correct code in C++ but I was curious if I was missing something about the runner in win32_window.cc and if there is an explicit cursor that always override the default one.

WNDCLASS Win32Window::RegisterWindowClass()
{
  WNDCLASS window_class{};
  window_class.hCursor = LoadCursor(nullptr, IDC_ARROW);

When the window is first created it does set a cursor.

At runtime you should be able to change it though.

Anywhere I should be looking?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions