mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
Print the number of WindowManager recompose() calls to debugger.
This commit is contained in:
parent
39e236d346
commit
f3ec96a1b9
2 changed files with 3 additions and 0 deletions
|
@ -279,6 +279,7 @@ void WindowManager::handlePaintEvent(PaintEvent& event)
|
|||
|
||||
void WindowManager::recompose()
|
||||
{
|
||||
printf("[WM] recompose_count: %u\n", ++m_recompose_count);
|
||||
auto& framebuffer = FrameBufferSDL::the();
|
||||
m_rootWidget->repaint(m_rootWidget->rect());
|
||||
for (auto* window = m_windows_in_order.head(); window; window = window->next()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue