mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-28 04:49:18 +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();
|
||||
my_exit(1);
|
||||
break;
|
||||
case SDL_DROPFILE:
|
||||
{
|
||||
char *file = event.drop.file;
|
||||
cfg_inspect_maybe_insert_file(file, 0);
|
||||
SDL_free(file);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user