Drop Compositor::scheduleRepaint()

Its the only user is the standalone X11 backend, but it can use
RenderLoop.
This commit is contained in:
Vlad Zahorodnii 2023-08-31 12:26:23 +03:00
parent 79cb5fc6e2
commit 8470ee03dc
2 changed files with 0 additions and 12 deletions

View file

@ -528,13 +528,6 @@ void Compositor::removeSuperLayer(RenderLayer *layer)
delete layer;
}
void Compositor::scheduleRepaint()
{
for (auto it = m_superlayers.constBegin(); it != m_superlayers.constEnd(); ++it) {
it.key()->scheduleRepaint();
}
}
void Compositor::stop()
{
if (m_state == State::Off || m_state == State::Stopping) {

View file

@ -48,11 +48,6 @@ public:
~Compositor() override;
static Compositor *self();
/**
* Schedules a new repaint if no repaint is currently scheduled.
*/
void scheduleRepaint();
/**
* Toggles compositing, that is if the Compositor is suspended it will be resumed
* and if the Compositor is active it will be suspended.