-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamOwned by the Windows platform teamtriaged-windowsTriaged by the Windows platform teamTriaged by the Windows platform team
Description
Hi,
I have tryimg write a custom cursor plugin now(https://github.com/imiskolee/flutter_custom_cursor), its work fine on macOS, but can not work on windows, I thinking it's related to windows message WM_SETCURSOR.
When I SetCursor from outside, it's worked once, but when we move the pointer, the cursor will be back to basic, theWM_SETCURSOR message will be triggered if the pointer moved,and the engine set cursor again.
so, can we has a public engine API for plugin to manually set cursor?
somethings like:
void FlutterWindowWin32::UpdateFlutterCursor(HCURSOR cursor) {
current_cursor_ = cursor;
}Originally posted by @imiskolee in #31952 (comment)
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamOwned by the Windows platform teamtriaged-windowsTriaged by the Windows platform teamTriaged by the Windows platform team