mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Taskbar: Plumb window active state from the WindowServer to the taskbar.
This commit is contained in:
parent
19eb814850
commit
7b1384c4ef
11 changed files with 70 additions and 29 deletions
|
@ -6,6 +6,7 @@ Window& WindowList::ensure_window(const WindowIdentifier& identifier)
|
|||
if (it != m_windows.end())
|
||||
return *it->value;
|
||||
auto window = make<Window>(identifier);
|
||||
window->set_button(aid_create_button());
|
||||
auto& window_ref = *window;
|
||||
m_windows.set(identifier, move(window));
|
||||
return window_ref;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue