We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 976f42d + 1524232 commit c40c56bCopy full SHA for c40c56b
platform/macos/godot_content_view.mm
@@ -532,6 +532,11 @@ - (void)mouseMoved:(NSEvent *)event {
532
mm->set_relative_screen_position(relativeMotion);
533
ds->get_key_modifier_state([event modifierFlags], mm);
534
535
+ const NSRect contentRect = [wd.window_view frame];
536
+ if (NSPointInRect([event locationInWindow], contentRect)) {
537
+ ds->mouse_enter_window(window_id);
538
+ }
539
+
540
Input::get_singleton()->parse_input_event(mm);
541
}
542
0 commit comments