WindowServer: Send mouse release to same window as mouse press

This commit is contained in:
2025-05-10 03:30:17 +03:00
parent c18fefd5f3
commit a8844ddd28
2 changed files with 14 additions and 8 deletions

View File

@@ -96,6 +96,7 @@ private:
State m_state { State::Normal };
bool m_is_mod_key_held { false };
BAN::RefPtr<Window> m_focused_window;
BAN::Array<BAN::RefPtr<Window>, 5> m_mouse_button_windows;
Position m_cursor;
Rectangle m_non_full_screen_rect;