summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_active_document.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/chrome_active_document.cc')
-rw-r--r--chrome_frame/chrome_active_document.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc
index 49439d9..bfd8e93 100644
--- a/chrome_frame/chrome_active_document.cc
+++ b/chrome_frame/chrome_active_document.cc
@@ -1219,6 +1219,7 @@ LRESULT ChromeActiveDocument::OnShowWindow(UINT message, WPARAM wparam,
LRESULT ChromeActiveDocument::OnSetFocus(UINT message, WPARAM wparam,
LPARAM lparam,
BOOL& handled) { // NO_LINT
- GiveFocusToChrome(false);
+ if (!ignore_setfocus_)
+ GiveFocusToChrome(false);
return 0;
}