mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:27:34 +00:00
WindowServer: Move key event handling to its own function
Instead of making WindowManager::event() all about key events.
This commit is contained in:
parent
4895f46d8c
commit
de8aa1b17d
2 changed files with 88 additions and 81 deletions
|
@ -243,6 +243,8 @@ private:
|
|||
bool process_mouse_event_for_titlebar_buttons(MouseEvent const&);
|
||||
void process_mouse_event_for_window(HitTestResult&, MouseEvent const&);
|
||||
|
||||
void process_key_event(KeyEvent&);
|
||||
|
||||
template<typename Callback>
|
||||
void for_each_window_manager(Callback);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue