mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-30 16:50:45 +00:00
Merge pull request #6 from ksherlock/sdl_dnd
Adds code to, theoretically, insert a drag-n-drop disk image.
This commit is contained in:
commit
a7302310c5
@ -385,6 +385,14 @@ check_input_events_sdl()
|
|||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
my_exit(1);
|
my_exit(1);
|
||||||
break;
|
break;
|
||||||
|
case SDL_DROPFILE:
|
||||||
|
{
|
||||||
|
char *file = event.drop.file;
|
||||||
|
cfg_inspect_maybe_insert_file(file, 0);
|
||||||
|
SDL_free(file);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user