Skip to content

Commit

Permalink
Bug 1208944 - Part 7. Don't post WM_IME_REQUEST on windowless plugin …
Browse files Browse the repository at this point in the history
…since we don't convert pointer over process. r=masayuki
  • Loading branch information
makotokato committed Dec 29, 2015
1 parent b8e6c38 commit 0ceadd7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion widget/windows/IMMHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -703,12 +703,16 @@ IMMHandler::ProcessMessageForPlugin(nsWindow* aWindow,
case WM_IME_CONTROL:
case WM_IME_KEYDOWN:
case WM_IME_KEYUP:
case WM_IME_REQUEST:
case WM_IME_SELECT:
aResult.mConsumed =
aWindow->DispatchPluginEvent(msg, wParam, lParam, false);
aRet = true;
return true;
case WM_IME_REQUEST:
// Our plugin implementation is alwasy OOP. So WM_IME_REQUEST doesn't
// allow that parameter is pointer and shouldn't handle into Gecko.
aRet = false;
return true;
}
return false;
}
Expand Down

0 comments on commit 0ceadd7

Please sign in to comment.