Selaa lähdekoodia

WindowServer: Make WSCompositor the parent of its timers

Andreas Kling 6 vuotta sitten
vanhempi
commit
8aece8f5b7
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      Servers/WindowServer/WSCompositor.cpp

+ 2 - 0
Servers/WindowServer/WSCompositor.cpp

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