mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
b5a73d3eb3
commit
6004e9b6d6
@ -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