X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fwindow.hh;h=65ceda7bebf2302ff5c9c9b80c6110229ac46d03;hb=cd6c4ebcb27b796b214296aefd78a41235dd8640;hp=fdf2223ef663a3d54b7c746078f7bad297e345a4;hpb=28594da6de001f1d8b6b975286032302db3a6491;p=chaz%2Fopenbox diff --git a/util/epist/window.hh b/util/epist/window.hh index fdf2223e..65ceda7b 100644 --- a/util/epist/window.hh +++ b/util/epist/window.hh @@ -60,6 +60,7 @@ private: int _inc_x, _inc_y; // resize increments int _base_x, _base_y; // base size int _gravity; + bool _can_focus; // states bool _shaded; @@ -70,7 +71,8 @@ private: bool _unmapped; void updateDimentions(); - void updateHints(); + void updateNormalHints(); + void updateWMHints(); void updateState(); void updateDesktop(); void updateTitle(); @@ -87,6 +89,7 @@ public: 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; }