mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:57:44 +00:00
LibGUI+WindowServer: Flash menubar menu when using a keyboard shortcut
Briefly flash the menubar menu containing the keyboard shortcut action to give the user immediate visual feedback on their interaction with the system.
This commit is contained in:
parent
ed0f4bdfaf
commit
6c049ea4c4
11 changed files with 88 additions and 1 deletions
|
@ -24,6 +24,7 @@ endpoint WindowServer
|
|||
add_menu_separator(i32 menu_id) =|
|
||||
|
||||
update_menu_item(i32 menu_id, i32 identifier, i32 submenu_id, [UTF8] String text, bool enabled, bool checkable, bool checked, bool is_default, [UTF8] String shortcut) =|
|
||||
flash_menubar_menu(i32 window_id, i32 menu_id) =|
|
||||
|
||||
create_window(
|
||||
i32 window_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue