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.
28 lines
490 B
C++
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
|