src/video/cocoa/SDL_cocoaevents.m
changeset 1962 c92e5f3e68d9
parent 1959 25d6537feea4
child 2738 79c1bd651f04
equal deleted inserted replaced
1961:f42f10fc309e 1962:c92e5f3e68d9
   172         switch ([event type]) {
   172         switch ([event type]) {
   173         case NSKeyDown:
   173         case NSKeyDown:
   174         case NSKeyUp:
   174         case NSKeyUp:
   175         case NSFlagsChanged:
   175         case NSFlagsChanged:
   176             Cocoa_HandleKeyEvent(_this, event);
   176             Cocoa_HandleKeyEvent(_this, event);
   177             /* Fall through to pass event to NSApp */
   177             /* Fall through to pass event to NSApp; er, nevermind... */
       
   178             /* FIXME: Find a way to stop the beeping, using delegate */
       
   179             break;
   178         default:
   180         default:
   179             [NSApp sendEvent:event];
   181             [NSApp sendEvent:event];
   180             break;
   182             break;
   181         }
   183         }
   182     }
   184     }