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;
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; }