diff options
author | markt <markt> | 2007-11-04 19:42:24 (GMT) |
---|---|---|
committer | markt <markt> | 2007-11-04 19:42:24 (GMT) |
commit | ab01fc56fddf6dffcc42e68402c981c192b5ac3e (patch) | |
tree | ae246ba803195f0d8a186e5f322d58699e6f4168 /src/WinClient.cc | |
parent | 64813f62fde1345c0130cb70b72cfc00d7698283 (diff) | |
download | fluxbox_pavel-ab01fc56fddf6dffcc42e68402c981c192b5ac3e.zip fluxbox_pavel-ab01fc56fddf6dffcc42e68402c981c192b5ac3e.tar.bz2 |
don't set focus to globally active windows
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r-- | src/WinClient.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc index d75d6eb..99264d2 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc | |||
@@ -168,8 +168,7 @@ WinClient::~WinClient() { | |||
168 | 168 | ||
169 | bool WinClient::acceptsFocus() const { | 169 | bool WinClient::acceptsFocus() const { |
170 | return (m_focus_mode == F_LOCALLYACTIVE || | 170 | return (m_focus_mode == F_LOCALLYACTIVE || |
171 | m_focus_mode == F_PASSIVE || | 171 | m_focus_mode == F_PASSIVE); |
172 | m_focus_mode == F_GLOBALLYACTIVE && send_focus_message); | ||
173 | } | 172 | } |
174 | 173 | ||
175 | bool WinClient::sendFocus() { | 174 | bool WinClient::sendFocus() { |