about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/engine/client/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp
index 24ef5b7c..aca576a7 100644
--- a/src/engine/client/client.cpp
+++ b/src/engine/client/client.cpp
@@ -1657,7 +1657,7 @@ void CClient::Run()
 				m_WindowMustRefocus++;
 			}
 
-			if(Input()->KeyPressed(KEY_MOUSE_1))
+			if(m_WindowMustRefocus >= 3 || Input()->KeyPressed(KEY_MOUSE_1))
 			{
 				Input()->MouseModeRelative();
 				m_WindowMustRefocus = 0;