mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
Bug 1208944 - Part 7. Don't post WM_IME_REQUEST on windowless plugin since we don't convert pointer over process. r=masayuki
This commit is contained in:
parent
d1e8691a64
commit
288292e066
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user