mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:18:12 +00:00
WindowServer: Add a window minimization button.
The window is simply ignored in the painting and hit testing traversal when in minimized state, same as we do for invisible windows. The WM_SetActiveWindow message (sent by Taskbar) brings it back into the non-minimized state. :^)
This commit is contained in:
parent
0fc3ccaa52
commit
f6ca94605c
6 changed files with 49 additions and 3 deletions
|
@ -532,6 +532,7 @@ void WSClientConnection::handle_request(const WSWMAPISetActiveWindowRequest& req
|
|||
return;
|
||||
}
|
||||
auto& window = *(*it).value;
|
||||
window.set_minimized(false);
|
||||
WSWindowManager::the().move_to_front_and_make_active(window);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue