aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r--src/WinClient.cc8
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
150bool 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
150bool WinClient::sendFocus() { 156bool WinClient::sendFocus() {
151 if (!send_focus_message) 157 if (!send_focus_message)
152 return false; 158 return false;