diff --git a/src/sdl2_driver.c b/src/sdl2_driver.c index 88f348a..9f606f7 100644 --- a/src/sdl2_driver.c +++ b/src/sdl2_driver.c @@ -384,6 +384,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; }