[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kwin] libkwineffects: Add isOnScreenDisplay to EffectWindow
From: Kai Uwe Broulik <kde () privat ! broulik ! de>
Date: 2015-01-31 18:46:05
Message-ID: E1YHd3V-0005uc-O6 () scm ! kde ! org
[Download RAW message or body]
Git commit e814a60045ca183b022e32e900f87687b6115215 by Kai Uwe Broulik.
Committed on 31/01/2015 at 18:45.
Pushed by broulik into branch 'master'.
Add isOnScreenDisplay to EffectWindow
M +1 -0 libkwineffects/kwineffects.cpp
M +10 -0 libkwineffects/kwineffects.h
http://commits.kde.org/kwin/e814a60045ca183b022e32e900f87687b6115215
diff --git a/libkwineffects/kwineffects.cpp b/libkwineffects/kwineffects.cpp
index 581ca5c..41f091f 100644
--- a/libkwineffects/kwineffects.cpp
+++ b/libkwineffects/kwineffects.cpp
@@ -735,6 +735,7 @@ WINDOW_HELPER(bool, isDropdownMenu, "dropdownMenu")
WINDOW_HELPER(bool, isPopupMenu, "popupMenu")
WINDOW_HELPER(bool, isTooltip, "tooltip")
WINDOW_HELPER(bool, isNotification, "notification")
+WINDOW_HELPER(bool, isOnScreenDisplay, "onScreenDisplay")
WINDOW_HELPER(bool, isComboBox, "comboBox")
WINDOW_HELPER(bool, isDNDIcon, "dndIcon")
WINDOW_HELPER(bool, isManaged, "managed")
diff --git a/libkwineffects/kwineffects.h b/libkwineffects/kwineffects.h
index c8edb68..bd39abf 100644
--- a/libkwineffects/kwineffects.h
+++ b/libkwineffects/kwineffects.h
@@ -1498,6 +1498,11 @@ class KWINEFFECTS_EXPORT EffectWindow : public QObje=
ct
*/
Q_PROPERTY(bool notification READ isNotification)
/**
+ * Returns whether the window is an on screen display window
+ * using the non-standard _KDE_NET_WM_WINDOW_TYPE_ON_SCREEN_DISPLAY
+ */
+ Q_PROPERTY(bool onScreenDisplay READ isOnScreenDisplay)
+ /**
* Returns whether the window is a combobox popup.
* See _NET_WM_WINDOW_TYPE_COMBO at http://standards.freedesktop.org/w=
m-spec/wm-spec-latest.html .
*/
@@ -1787,6 +1792,11 @@ public:
*/
bool isNotification() const;
/**
+ * Returns whether the window is an on screen display window
+ * using the non-standard _KDE_NET_WM_WINDOW_TYPE_ON_SCREEN_DISPLAY
+ */
+ bool isOnScreenDisplay() const;
+ /**
* Returns whether the window is a combobox popup.
* See _NET_WM_WINDOW_TYPE_COMBO at http://standards.freedesktop.org/w=
m-spec/wm-spec-latest.html .
*/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic