aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2007-11-04 19:42:24 (GMT)
committermarkt <markt>2007-11-04 19:42:24 (GMT)
commitab01fc56fddf6dffcc42e68402c981c192b5ac3e (patch)
treeae246ba803195f0d8a186e5f322d58699e6f4168 /src
parent64813f62fde1345c0130cb70b72cfc00d7698283 (diff)
downloadfluxbox_pavel-ab01fc56fddf6dffcc42e68402c981c192b5ac3e.zip
fluxbox_pavel-ab01fc56fddf6dffcc42e68402c981c192b5ac3e.tar.bz2
don't set focus to globally active windows
Diffstat (limited to 'src')
-rw-r--r--src/WinClient.cc3
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
169bool WinClient::acceptsFocus() const { 169bool 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
175bool WinClient::sendFocus() { 174bool WinClient::sendFocus() {