From ab01fc56fddf6dffcc42e68402c981c192b5ac3e Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 4 Nov 2007 19:42:24 +0000 Subject: don't set focus to globally active windows --- src/WinClient.cc | 3 +-- 1 file changed, 1 insertion(+), 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() { bool WinClient::acceptsFocus() const { return (m_focus_mode == F_LOCALLYACTIVE || - m_focus_mode == F_PASSIVE || - m_focus_mode == F_GLOBALLYACTIVE && send_focus_message); + m_focus_mode == F_PASSIVE); } bool WinClient::sendFocus() { -- cgit v0.11.2