Skip to content

Commit d86369a

Browse files
committed
Merge pull request #109723 from bruvzg/macos_rm
[macOS] Remove FEATURE_MOUSE from embedded display server.
2 parents 8f052a4 + ba097ff commit d86369a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platform/macos/display_server_embedded.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@
322322

323323
void DisplayServerEmbedded::warp_mouse(const Point2i &p_position) {
324324
_THREAD_SAFE_METHOD_
325+
Input::get_singleton()->set_mouse_position(p_position);
325326
EngineDebugger::get_singleton()->send_message("game_view:warp_mouse", { p_position });
326327
}
327328

@@ -478,7 +479,7 @@
478479
case FEATURE_CUSTOM_CURSOR_SHAPE:
479480
// case FEATURE_HIDPI:
480481
// case FEATURE_ICON:
481-
case FEATURE_MOUSE:
482+
// case FEATURE_MOUSE:
482483
case FEATURE_MOUSE_WARP:
483484
// case FEATURE_NATIVE_DIALOG:
484485
// case FEATURE_NATIVE_ICON:

0 commit comments

Comments
 (0)