]> Dogcows Code - chaz/openbox/blobdiff - src/Window.hh
dont let focus fall back to strange windows like panels, only to normal windows and...
[chaz/openbox] / src / Window.hh
index 64ad1c34982542500a906215f63d3d0c8ff3d4e3..328b5ffa5bb556ff32bbab11db9eac165dbc55eb 100644 (file)
@@ -176,8 +176,10 @@ private:
       min_width, min_height,        // can not be resized smaller
       max_width, max_height,        // can not be resized larger
       width_inc, height_inc,        // increment step
+#if 0 // not supported at the moment
       min_aspect_x, min_aspect_y,   // minimum aspect ratio
       max_aspect_x, max_aspect_y,   // maximum aspect ratio
+#endif
       base_width, base_height,
       win_gravity;
 
@@ -319,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; }
 
This page took 0.022963 seconds and 4 git commands to generate.