1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:57:45 +00:00

LibGUI+WindowServer: Add new WMEvent Super+Space

To make Assistant useful we need a way to quickly trigger it. I've
added a new specialized event coming from the window server for when a
user is holding down 'Super' and hits 'Space'.

The Taskbar will be able to listen for this event and spawn a new
instance of the Assistant if it's not already running.
This commit is contained in:
Spencer Dixon 2021-06-21 19:32:46 -04:00 committed by Andreas Kling
parent 66c13edb98
commit 4f11138e8e
7 changed files with 38 additions and 0 deletions

View file

@ -156,6 +156,7 @@ public:
void tell_wms_window_rect_changed(Window&);
void tell_wms_applet_area_size_changed(Gfx::IntSize const&);
void tell_wms_super_key_pressed();
void tell_wms_super_space_key_pressed();
bool is_active_window_or_accessory(Window&) const;