diff options
author | rathnor <rathnor> | 2004-04-28 14:59:12 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-04-28 14:59:12 (GMT) |
commit | 4439b3f9b17e9c8bd9682ce967631f03249304bf (patch) | |
tree | 3e7fd160b6ba503359da09c5eec9b0f57d40e2f0 /src/WinClient.cc | |
parent | bb779745f45c917099fde31c4cea8bb6d6bc6f7d (diff) | |
download | fluxbox_pavel-4439b3f9b17e9c8bd9682ce967631f03249304bf.zip fluxbox_pavel-4439b3f9b17e9c8bd9682ce967631f03249304bf.tar.bz2 |
fixes for/reimplement parts of directional focus movement
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r-- | src/WinClient.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc index 2265f2f..3911d6c 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: WinClient.cc,v 1.38 2004/04/01 14:06:42 rathnor Exp $ | 22 | // $Id: WinClient.cc,v 1.39 2004/04/28 14:59:12 rathnor Exp $ |
23 | 23 | ||
24 | #include "WinClient.hh" | 24 | #include "WinClient.hh" |
25 | 25 | ||
@@ -147,6 +147,12 @@ void WinClient::updateRect(int x, int y, | |||
147 | 147 | ||
148 | } | 148 | } |
149 | 149 | ||
150 | bool WinClient::acceptsFocus() const { | ||
151 | return (m_focus_mode == F_LOCALLYACTIVE || | ||
152 | m_focus_mode == F_PASSIVE || | ||
153 | m_focus_mode == F_GLOBALLYACTIVE && send_focus_message); | ||
154 | } | ||
155 | |||
150 | bool WinClient::sendFocus() { | 156 | bool WinClient::sendFocus() { |
151 | if (!send_focus_message) | 157 | if (!send_focus_message) |
152 | return false; | 158 | return false; |