mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Fix the accent menu showing up on OS X. This closes #1
This commit is contained in:
parent
abe66c7e21
commit
1aff99d5e8
@ -5,6 +5,7 @@
|
|||||||
#include "ppapi/cpp/graphics_3d.h"
|
#include "ppapi/cpp/graphics_3d.h"
|
||||||
#include "ppapi/cpp/video_decoder.h"
|
#include "ppapi/cpp/video_decoder.h"
|
||||||
#include "ppapi/cpp/audio.h"
|
#include "ppapi/cpp/audio.h"
|
||||||
|
#include "ppapi/cpp/text_input_controller.h"
|
||||||
|
|
||||||
#include "ppapi/c/ppb_gamepad.h"
|
#include "ppapi/c/ppb_gamepad.h"
|
||||||
#include "ppapi/c/pp_input_event.h"
|
#include "ppapi/c/pp_input_event.h"
|
||||||
@ -51,6 +52,8 @@ class MoonlightInstance : public pp::Instance, public pp::MouseLock {
|
|||||||
|
|
||||||
LiInitializeStreamConfiguration(&m_StreamConfig);
|
LiInitializeStreamConfiguration(&m_StreamConfig);
|
||||||
|
|
||||||
|
pp::TextInputController(this).SetTextInputType(PP_TEXTINPUT_TYPE_NONE);
|
||||||
|
|
||||||
m_GamepadApi = static_cast<const PPB_Gamepad*>(pp::Module::Get()->GetBrowserInterface(PPB_GAMEPAD_INTERFACE));
|
m_GamepadApi = static_cast<const PPB_Gamepad*>(pp::Module::Get()->GetBrowserInterface(PPB_GAMEPAD_INTERFACE));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user