Skip to content

Commit

Permalink
Resolve issue cefsharp#242 CEF3: Keyboard input is sent to wrong WebV…
Browse files Browse the repository at this point in the history
…iew instance sometimes
  • Loading branch information
amaitland committed Jun 3, 2014
1 parent 4baf13f commit 42c0419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CefSharp.Wpf/WebView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ private IntPtr SourceHook(IntPtr hWnd, int message, IntPtr wParam, IntPtr lParam
case WM.KEYUP:
case WM.CHAR:
case WM.IME_CHAR:
if (!IsFocused)
if (!IsKeyboardFocused)
{
break;
}
Expand Down

0 comments on commit 42c0419

Please sign in to comment.