mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:38:10 +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
12 changed files with 0 additions and 47 deletions
|
@ -721,10 +721,6 @@ void Window::apply_icon()
|
|||
rc = shbuf_allow_all(m_icon->shbuf_id());
|
||||
ASSERT(rc == 0);
|
||||
|
||||
static bool has_set_process_icon;
|
||||
if (!has_set_process_icon)
|
||||
set_process_icon(m_icon->shbuf_id());
|
||||
|
||||
WindowServerConnection::the().send_sync<Messages::WindowServer::SetWindowIconBitmap>(m_window_id, m_icon->to_shareable_bitmap(WindowServerConnection::the().server_pid()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue