1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-12 17:17:50 +03:00
latte-dock/liblattedock/windowsystem.cpp
2016-12-25 21:28:00 +02:00

28 lines
490 B
C++

#include "windowsystem.h"
#include <KWindowSystem>
namespace Latte {
WindowSystem::WindowSystem(QObject *parent) :
QObject(parent)
{
connect(KWindowSystem::self(), SIGNAL(compositingChanged(bool)), this, SLOT(compositingChanged(bool)));
}
WindowSystem::~WindowSystem()
{
}
bool WindowSystem::compositingActive() const
{
return KWindowSystem::compositingActive();
}
void WindowSystem::compositingChanged(bool state)
{
emit compositingChanged();
}
} //end of namespace