mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 15:17:45 +00:00
WindowServer: Don't lookup configuration values in compose()
The compose() function is supposed to be fast since it can execute 60 times per second. Let's not do obviously avoidable things like configuration value lookups in there. :^)
This commit is contained in:
parent
ffa241250b
commit
bc67b04399
3 changed files with 26 additions and 10 deletions
|
@ -74,9 +74,7 @@ WindowManager::WindowManager(const Gfx::PaletteImpl& palette)
|
|||
|
||||
reload_config(false);
|
||||
|
||||
Compositor::the().invalidate_screen();
|
||||
Compositor::the().invalidate_occlusions();
|
||||
Compositor::the().compose();
|
||||
Compositor::the().did_construct_window_manager({});
|
||||
}
|
||||
|
||||
WindowManager::~WindowManager()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue