From 8a74ad380c976cb792378adf56a0e2c07dffcb56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 2 Feb 2012 10:23:33 +0100 Subject: [PATCH] Some more properties for EffectWindow --- libkwineffects/kwineffects.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libkwineffects/kwineffects.h b/libkwineffects/kwineffects.h index c770de59f1..91c2b3e613 100644 --- a/libkwineffects/kwineffects.h +++ b/libkwineffects/kwineffects.h @@ -1073,6 +1073,8 @@ class KWIN_EXPORT EffectWindow : public QObject Q_PROPERTY(int x READ x) Q_PROPERTY(int y READ y) Q_PROPERTY(int desktop READ desktop) + Q_PROPERTY(bool onAllDesktops READ isOnAllDesktops) + Q_PROPERTY(bool onCurrentDesktop READ isOnCurrentDesktop) Q_PROPERTY(QRect rect READ rect) Q_PROPERTY(QString windowClass READ windowClass) Q_PROPERTY(QString windowRole READ windowRole) @@ -1167,6 +1169,10 @@ class KWIN_EXPORT EffectWindow : public QObject * Whether the window has an own shape **/ Q_PROPERTY(bool shaped READ hasOwnShape) + /** + * The Window's shape + **/ + Q_PROPERTY(QRegion shape READ shape) /** * The Caption of the window. Read from WM_NAME property together with a suffix for hostname and shortcut. **/