int _inc_x, _inc_y; // resize increments
int _base_x, _base_y; // base size
int _gravity;
+ bool _can_focus;
// states
bool _shaded;
bool _unmapped;
void updateDimentions();
- void updateHints();
+ void updateNormalHints();
+ void updateWMHints();
void updateState();
void updateDesktop();
void updateTitle();
XWindow(epist *epist, screen *screen, Window window);
virtual ~XWindow();
+ inline screen *getScreen() const { return _screen; }
inline Window window() const { return _window; }
inline unsigned int desktop() const { return _desktop; }
inline const std::string &title() const { return _title; }
inline const std::string &appName() const { return _app_name; }
inline const std::string &appClass() const { return _app_class; }
+ inline bool canFocus() const { return _can_focus; }
inline bool shaded() const { return _shaded; }
inline bool iconic() const { return _iconic; }