1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #104644 from bruvzg/macos_sync_mb

[macOS] Release keys and regenerate mouse events after native popup menu tracking.
This commit is contained in:
Rémi Verschelde
2025-03-28 14:33:34 +01:00
3 changed files with 36 additions and 0 deletions

View File

@@ -253,6 +253,7 @@ public:
void send_event(NSEvent *p_event);
void send_window_event(const WindowData &p_wd, WindowEvent p_event);
void release_pressed_events();
void sync_mouse_state();
void get_key_modifier_state(unsigned int p_macos_state, Ref<InputEventWithModifiers> r_state) const;
void update_mouse_pos(WindowData &p_wd, NSPoint p_location_in_window);
void push_to_key_event_buffer(const KeyEvent &p_event);