mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-28 19:35:24 +00:00
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.
11 lines
690 B
Plaintext
11 lines
690 B
Plaintext
endpoint WindowManagerClient
|
|
{
|
|
window_removed(i32 wm_id, i32 client_id, i32 window_id) =|
|
|
window_state_changed(i32 wm_id, i32 client_id, i32 window_id, i32 parent_client_id, i32 parent_window_id, bool is_active, bool is_minimized, bool is_modal, bool is_frameless, i32 window_type, [UTF8] String title, Gfx::IntRect rect, Optional<i32> progress) =|
|
|
window_icon_bitmap_changed(i32 wm_id, i32 client_id, i32 window_id, Gfx::ShareableBitmap bitmap) =|
|
|
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) =|
|
|
}
|