mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +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:
parent
66c13edb98
commit
4f11138e8e
Notes:
sideshowbarker
2024-07-18 11:24:48 +09:00
Author: https://github.com/SpencerCDixon
Commit: 4f11138e8e
Pull-request: https://github.com/SerenityOS/serenity/pull/8266
Reviewed-by: https://github.com/Mandar12
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/linusg
7 changed files with 38 additions and 0 deletions
|
@ -6,4 +6,5 @@ endpoint WindowManagerClient
|
|||
window_rect_changed(i32 wm_id, i32 client_id, i32 window_id, Gfx::IntRect rect) =|
|
||||
applet_area_size_changed(i32 wm_id, Gfx::IntSize size) =|
|
||||
super_key_pressed(i32 wm_id) =|
|
||||
super_space_key_pressed(i32 wm_id) =|
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue