From fb613db29ffcf1539c91f0ac0ca5d25cb4e593b5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 16 Jul 2002 02:38:26 +0000 Subject: dont let focus fall back to strange windows like panels, only to normal windows and dialogs --- src/Window.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Window.hh') diff --git a/src/Window.hh b/src/Window.hh index 72cefe61..328b5ffa 100644 --- a/src/Window.hh +++ b/src/Window.hh @@ -321,7 +321,7 @@ 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 bool isDesktop(void) const { return window_type == Type_Desktop; } + inline WindowType windowType(void) const { return window_type; } inline bool hasTitlebar(void) const { return decorations & Decor_Titlebar; } -- cgit v1.2.3