mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-07 12:32:21 +00:00
disable mouse grab if hard-cursor used
This commit is contained in:
parent
4603bd305c
commit
b62e20838c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user