mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-18 09:02:53 +00:00
Kernel: Remove the per-process icon_id and sys$set_process_icon()
This was a goofy kernel API where you could assign an icon_id (int) to a process which referred to a global shbuf with a 16x16 icon bitmap inside it. Instead of this, programs that want to display a process icon now retrieve it from the process executable instead.
This commit is contained in:
parent
cb68b8ff8b
commit
0e2b7f9c9a
Notes:
sideshowbarker
2024-07-19 00:34:20 +09:00
Author: https://github.com/awesomekling
Commit: 0e2b7f9c9a
12 changed files with 0 additions and 47 deletions
|
@ -75,7 +75,6 @@ HashMap<pid_t, Core::ProcessStatistics> ProcessStatisticsReader::get_all()
|
|||
process.amount_clean_inode = process_object.get("amount_clean_inode").to_u32();
|
||||
process.amount_purgeable_volatile = process_object.get("amount_purgeable_volatile").to_u32();
|
||||
process.amount_purgeable_nonvolatile = process_object.get("amount_purgeable_nonvolatile").to_u32();
|
||||
process.icon_id = process_object.get("icon_id").to_int();
|
||||
|
||||
auto& thread_array = process_object.get_ptr("threads")->as_array();
|
||||
process.threads.ensure_capacity(thread_array.size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue