mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-24 00:20:21 +00:00
6992a07afc
This adds a keyboard event for Super+0 to Super+9. Later to be consumed in the taskbar. Currently only this keyboard sequence is supported: - Super key down - Digit key down But not this: - Super key down - Digit key down - Digit key up - Digit key down
15 lines
932 B
Text
15 lines
932 B
Text
#include <LibGfx/ShareableBitmap.h>
|
|
|
|
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, u32 workspace_row, u32 workspace_column, 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) =|
|
|
super_digit_key_pressed(i32 wm_id, u8 digit) =|
|
|
workspace_changed(i32 wm_id, u32 row, u32 column) =|
|
|
keymap_changed(i32 wm_id, [UTF8] String keymap) =|
|
|
}
|