Skip to content

Commit

Permalink
fix: hide ST cursor on closing menu
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeBryssinck committed Apr 16, 2022
1 parent c3ba18a commit b1b9904
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Code/client/Services/Generic/InputService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ void ProcessKeyboard(uint16_t aKey, uint16_t aScanCode, cef_key_event_type_t aTy
pRenderer->SetVisible(!active);
#endif

pRenderer->SetCursorVisible(!active);

// This is to disable the Windows cursor
while (ShowCursor(FALSE) >= 0)
;
}
Expand Down

0 comments on commit b1b9904

Please sign in to comment.