mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:27:43 +00:00
WindowServer: Render the global menubar into a separate WSWindow.
Previously we were rendering the whole menubar on every compose(), even if nothing changed about it. Now it's in its own window and can be invalidated and painted separately.
This commit is contained in:
parent
d99b1a9ea0
commit
9ac17c7bc9
10 changed files with 164 additions and 89 deletions
|
@ -138,6 +138,8 @@ static WSAPI_WindowType to_api(WSWindowType ws_type)
|
|||
return WSAPI_WindowType::Taskbar;
|
||||
case WSWindowType::Tooltip:
|
||||
return WSAPI_WindowType::Tooltip;
|
||||
case WSWindowType::Menubar:
|
||||
return WSAPI_WindowType::Menubar;
|
||||
default:
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue