Drop Compositor::scheduleRepaint()
Its the only user is the standalone X11 backend, but it can use RenderLoop.
This commit is contained in:
parent
79cb5fc6e2
commit
8470ee03dc
2 changed files with 0 additions and 12 deletions
|
@ -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) {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue