1
Fork 0
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:
Andreas Kling 2019-01-17 17:38:04 +01:00
parent 135ff48bb9
commit dad58db757
9 changed files with 66 additions and 42 deletions

View file

@ -63,6 +63,8 @@ struct GUI_Event {
MouseUp,
KeyDown,
KeyUp,
WindowActivated,
WindowDeactivated,
};
Type type { Invalid };
int window_id { -1 };