mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 11:47:35 +00:00
WindowServer: Use Gfx::ShareableBitmap for SetWindowIconBitmap
This commit is contained in:
parent
7cfe712f4d
commit
8c5fa05c39
3 changed files with 5 additions and 7 deletions
|
@ -587,7 +587,7 @@ void Window::apply_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->shbuf_id(), m_icon->size());
|
||||
WindowServerConnection::the().send_sync<Messages::WindowServer::SetWindowIconBitmap>(m_window_id, m_icon->to_shareable_bitmap(WindowServerConnection::the().server_pid()));
|
||||
}
|
||||
|
||||
void Window::start_wm_resize()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue