summaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 105aef16..8143ade1 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -325,7 +325,10 @@ public:
// is a 'normal' window? meaning, a standard client application
inline bool isNormal(void) const
- { return window_type == Type_Dialog || window_type == Type_Normal; }
+ { return window_type == Type_Dialog || window_type == Type_Normal ||
+ window_type == Type_Toolbar || window_type == Type_Utility; }
+ inline bool isTopmost(void) const
+ { return window_type == Type_Toolbar || window_type == Type_Utility; }
inline bool isDesktop(void) const { return window_type == Type_Desktop; }
inline bool hasTitlebar(void) const { return decorations & Decor_Titlebar; }