summaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-09 00:44:35 +0000
committerDana Jansens <danakj@orodu.net>2002-08-09 00:44:35 +0000
commitbc3268b6f9f86e6aebe0d06ce174b2d603d09c1e (patch)
tree8e7de83d03f3b3501cdc8bc3baac43eb640e0b7f /src/Window.hh
parent01096f867493aed2efc2694c986811404288c1f1 (diff)
handle toolbars and utility windows proper. also, no more crashes from kpager (i really hope :P), at least not the same way
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; }