mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinWX: fix input bitmaps not working when background input is off
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user