diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-08-09 00:44:35 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-08-09 00:44:35 +0000 |
| commit | bc3268b6f9f86e6aebe0d06ce174b2d603d09c1e (patch) | |
| tree | 8e7de83d03f3b3501cdc8bc3baac43eb640e0b7f /src/Window.hh | |
| parent | 01096f867493aed2efc2694c986811404288c1f1 (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.hh | 5 |
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; } |
