diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-16 08:00:59 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-16 08:00:59 +0000 |
| commit | 2dde696a1335ef61bb368c55f4ee52e1dd8610a1 (patch) | |
| tree | a4f0ec5415ed31221aa4eaca1c0c6f4de3fb476b /src/Window.hh | |
| parent | 41053a810aa701e4e39f124c725c5bbc20492059 (diff) | |
much awesome support for special windows like panels/desktops.
All 'non-normal' windows are treated equally now, with a fe wexceptionms for the desktop for stacking.
Fix some ClicmMousePlacement bugs while we're at it.
Diffstat (limited to 'src/Window.hh')
| -rw-r--r-- | src/Window.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Window.hh b/src/Window.hh index 328b5ffa..c024e5bc 100644 --- a/src/Window.hh +++ b/src/Window.hh @@ -267,7 +267,6 @@ private: void getMWMHints(void); bool getBlackboxHints(void); void getTransientInfo(void); - bool isKDESystrayWindow(void); void setNetWMAttributes(void); void associateClientWindow(void); void decorate(void); @@ -321,8 +320,12 @@ public: inline bool isMaximizable(void) const { return functions & Func_Maximize; } inline bool isResizable(void) const { return functions & Func_Resize; } inline bool isClosable(void) const { return functions & Func_Close; } - inline WindowType windowType(void) const { return window_type; } + // is a 'normal' window? meaning, a standard client application + inline bool isNormal(void) const + { return window_type == Type_Dialog || window_type == Type_Normal; } + inline bool isDesktop(void) const { return window_type == Type_Desktop; } + inline bool hasTitlebar(void) const { return decorations & Decor_Titlebar; } inline const BlackboxWindowList &getTransients(void) const |
