diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-24 17:49:57 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-24 17:49:57 +0000 |
| commit | fa34ea5250511e37180ea2ddd85919516f25248d (patch) | |
| tree | 3a12d927687ac0454b0e851e746a67815f8267bb /util/epist/window.hh | |
| parent | 49c04eaf57fc20efe95c431b78b2c08d6403dee2 (diff) | |
don't try pass focus off to windows that dont take it
Diffstat (limited to 'util/epist/window.hh')
| -rw-r--r-- | util/epist/window.hh | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |
