mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-12 17:17:50 +03:00
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
|