Added an event when the clipboard is updated, triggered after the window gains the keyboard focus.

This commit is contained in:
Sam Lantinga 2010-07-08 22:54:03 -07:00
parent 9520a46847
commit ff0ba0afa5
10 changed files with 172 additions and 1 deletions

View file

@ -1017,6 +1017,9 @@ PrintEvent(SDL_Event * event)
fprintf(stderr, "Joystick %d: button %d released",
event->jbutton.which, event->jbutton.button);
break;
case SDL_CLIPBOARDUPDATE:
fprintf(stderr, "Clipboard updated");
break;
case SDL_QUIT:
fprintf(stderr, "Quit requested");
break;