]> Dogcows Code - chaz/openbox/blobdiff - src/Window.hh
handle toolbars and utility windows proper. also, no more crashes from kpager (i...
[chaz/openbox] / src / Window.hh
index 105aef166d6cbcad09cba823b381066414b9a1e6..8143ade15cefb6eb9ad97adc4fe20b976e8bc8c5 100644 (file)
@@ -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; }
This page took 0.025645 seconds and 4 git commands to generate.