mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] core: remove state tracking in core_updateOverlayState
The state is never updated when a message box is dismissed, so the cursor is never displayed when a second message box shows up. The only other caller, app_setOverlay, has state tracking already.
This commit is contained in:
parent
6c76d6ada5
commit
f28084e653
@ -654,12 +654,6 @@ void core_resetOverlayInputState(void)
|
||||
|
||||
void core_updateOverlayState(void)
|
||||
{
|
||||
static bool lastState = false;
|
||||
bool currentState = app_isOverlayMode();
|
||||
if (lastState == currentState)
|
||||
return;
|
||||
|
||||
lastState = currentState;
|
||||
g_state.cursorLast = -2;
|
||||
|
||||
static bool wasGrabbed = false;
|
||||
|
Loading…
Reference in New Issue
Block a user