mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
Use HashMap::remove() in some places that I wanted it.
This commit is contained in:
parent
969334505d
commit
6ea8ce500c
5 changed files with 10 additions and 5 deletions
|
@ -118,6 +118,12 @@ void WindowManager::addWindow(Window& window)
|
|||
m_windows.set(&window);
|
||||
}
|
||||
|
||||
void WindowManager::removeWindow(Window& window)
|
||||
{
|
||||
ASSERT(m_windows.contains(&window));
|
||||
m_windows.remove(&window);
|
||||
}
|
||||
|
||||
void WindowManager::notifyTitleChanged(Window& window)
|
||||
{
|
||||
//printf("[WM] Window{%p} title set to '%s'\n", &window, window.title().characters());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue