From fa34ea5250511e37180ea2ddd85919516f25248d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 24 Jul 2002 17:49:57 +0000 Subject: don't try pass focus off to windows that dont take it --- util/epist/window.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util/epist/window.hh') 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; } -- cgit v1.2.3