From bc3268b6f9f86e6aebe0d06ce174b2d603d09c1e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 9 Aug 2002 00:44:35 +0000 Subject: handle toolbars and utility windows proper. also, no more crashes from kpager (i really hope :P), at least not the same way --- src/Window.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Window.hh') 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; } -- cgit v1.2.3