1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:37:45 +00:00

WindowServer: Make WSCompositor the parent of its timers

This commit is contained in:
Andreas Kling 2019-08-18 11:59:43 +02:00
parent 1b3599fbbc
commit 8aece8f5b7

View file

@ -30,6 +30,8 @@ WallpaperMode mode_to_enum(const String& name)
} }
WSCompositor::WSCompositor() WSCompositor::WSCompositor()
: m_compose_timer(this)
, m_immediate_compose_timer(this)
{ {
m_screen_can_set_buffer = WSScreen::the().can_set_buffer(); m_screen_can_set_buffer = WSScreen::the().can_set_buffer();