Add isOnScreenDisplay to EffectWindow
This commit is contained in:
parent
cbe925d535
commit
e814a60045
2 changed files with 11 additions and 0 deletions
|
@ -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")
|
||||
|
|
|
@ -1497,6 +1497,11 @@ class KWINEFFECTS_EXPORT EffectWindow : public QObject
|
|||
* See _NET_WM_WINDOW_TYPE_NOTIFICATION at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
|
||||
*/
|
||||
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/wm-spec/wm-spec-latest.html .
|
||||
|
@ -1786,6 +1791,11 @@ public:
|
|||
* See _NET_WM_WINDOW_TYPE_NOTIFICATION at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
|
||||
*/
|
||||
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/wm-spec/wm-spec-latest.html .
|
||||
|
|
Loading…
Reference in a new issue