You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
latte-dock/liblattedock/windowsystem.cpp

28 lines
494 B
C++

#include "windowsystem.h"
#include <KWindowSystem>
namespace LatteDock {
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