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

Taskbar+WindowServer: Adding to Quick Launch via windows :^)

You can now add applications to Quick Launch via the context
menu option of their windows. Clicking it creates an event with the
stored PID of the process that created the window. The Taskbar receives
the event and tells the QuickLaunchWidget to add the PID, which then
gets the executable using /sys/kernel/processes. It also looks for an
AppFile using the name from the process object and if there is one, it
uses that, since it should contain a better formatted name.
This commit is contained in:
david072 2023-11-04 19:58:14 +01:00 committed by Andreas Kling
parent 4386182be1
commit 70f7c10ab9
11 changed files with 105 additions and 0 deletions

View file

@ -13,4 +13,5 @@ endpoint WindowManagerClient
super_digit_key_pressed(i32 wm_id, u8 digit) =|
workspace_changed(i32 wm_id, u32 row, u32 column) =|
keymap_changed(i32 wm_id, [UTF8] DeprecatedString keymap) =|
add_to_quick_launch(i32 wm_id, i32 process_id) =|
}