src/video/cocoa/SDL_cocoawindow.m
changeset 10028 da668b612d10
parent 10025 bf4f8cde1c54
child 10140 6dd5f49e4a77
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Tue Apr 21 09:45:58 2015 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Tue Apr 21 10:10:59 2015 -0400
     1.3 @@ -852,6 +852,7 @@
     1.4      }
     1.5  
     1.6      if ([self processHitTest:theEvent]) {
     1.7 +        SDL_SendWindowEvent(_data->window, SDL_WINDOWEVENT_HIT_TEST, 0, 0);
     1.8          return;  /* dragging, drop event. */
     1.9      }
    1.10  
    1.11 @@ -894,6 +895,7 @@
    1.12      int button;
    1.13  
    1.14      if ([self processHitTest:theEvent]) {
    1.15 +        SDL_SendWindowEvent(_data->window, SDL_WINDOWEVENT_HIT_TEST, 0, 0);
    1.16          return;  /* stopped dragging, drop event. */
    1.17      }
    1.18  
    1.19 @@ -937,6 +939,7 @@
    1.20      int x, y;
    1.21  
    1.22      if ([self processHitTest:theEvent]) {
    1.23 +        SDL_SendWindowEvent(window, SDL_WINDOWEVENT_HIT_TEST, 0, 0);
    1.24          return;  /* dragging, drop event. */
    1.25      }
    1.26