mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
WindowServer: Detach WSMenuManager from WSWindowManager
You can now get to the WSMenuManager via WSMenuManager::the(). Also note that it's initialized after WSWindowManager.
This commit is contained in:
parent
2d75396c94
commit
8ddd053c2a
8 changed files with 41 additions and 39 deletions
|
@ -34,6 +34,7 @@ int main(int, char**)
|
|||
wm_config->read_num_entry("Screen", "Height", 768));
|
||||
WSCompositor::the();
|
||||
auto wm = WSWindowManager::construct(*palette);
|
||||
auto mm = WSMenuManager::construct();
|
||||
|
||||
dbgprintf("Entering WindowServer main loop.\n");
|
||||
loop.exec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue