disable mouse grab if hard-cursor used

This commit is contained in:
kanjitalk755 2019-05-03 18:50:41 +09:00
parent 4603bd305c
commit b62e20838c
1 changed files with 1 additions and 1 deletions

View File

@ -2105,7 +2105,7 @@ static int SDLCALL on_sdl_event_generated(void *userdata, SDL_Event * event)
SDL_Keysym const & ks = event->key.keysym;
switch (ks.sym) {
case SDLK_F5: {
if (is_hotkey_down(ks)) {
if (is_hotkey_down(ks) && !PrefsFindBool("hardcursor")) {
drv->toggle_mouse_grab();
return EVENT_DROP_FROM_QUEUE;
}