DolphinWX: fix input bitmaps not working when background input is off

This commit is contained in:
Michael Maltese
2017-07-12 00:11:29 -07:00
parent ab5a5ee3ea
commit 0019c34c73
14 changed files with 53 additions and 8 deletions

View File

@ -47,6 +47,7 @@
#include "DolphinWX/Main.h"
#include "DolphinWX/NetPlay/NetWindow.h"
#include "DolphinWX/SoftwareVideoConfigDialog.h"
#include "DolphinWX/UINeedsControllerState.h"
#include "DolphinWX/VideoConfigDiag.h"
#include "DolphinWX/WxUtils.h"
@ -486,9 +487,9 @@ void Host_SetWiiMoteConnectionState(int _State)
main_frame->GetEventHandler()->AddPendingEvent(event);
}
bool Host_UIHasFocus()
bool Host_UINeedsControllerState()
{
return wxGetApp().IsActiveThreadsafe();
return wxGetApp().IsActiveThreadsafe() && GetUINeedsControllerState();
}
bool Host_RendererHasFocus()