Android: Fixed up drop events for new interface.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 05 Jan 2016 05:31:33 -0500
changeset 10032e661304722ce
parent 10031 2b3baddd9afa
child 10033 03a8adcb6460
Android: Fixed up drop events for new interface.
src/core/android/SDL_android.c
     1.1 --- a/src/core/android/SDL_android.c	Tue Jan 05 05:22:35 2016 -0500
     1.2 +++ b/src/core/android/SDL_android.c	Tue Jan 05 05:31:33 2016 -0500
     1.3 @@ -144,8 +144,9 @@
     1.4                                      jstring filename)
     1.5  {
     1.6      const char *path = (*env)->GetStringUTFChars(env, filename, NULL);
     1.7 -    SDL_SendDropFile(path);
     1.8 +    SDL_SendDropFile(NULL, path);
     1.9      (*env)->ReleaseStringUTFChars(env, filename, path);
    1.10 +    SDL_SendDropComplete(NULL);
    1.11  }
    1.12  
    1.13  /* Resize */