mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
Add WindowActivated and WindowDeactivated events.
Use this to implement different looking Terminal cursors depending on the window active state.
This commit is contained in:
parent
135ff48bb9
commit
dad58db757
9 changed files with 66 additions and 42 deletions
|
@ -63,6 +63,8 @@ struct GUI_Event {
|
|||
MouseUp,
|
||||
KeyDown,
|
||||
KeyUp,
|
||||
WindowActivated,
|
||||
WindowDeactivated,
|
||||
};
|
||||
Type type { Invalid };
|
||||
int window_id { -1 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue