diff test/common.c @ 4503:524dfefd554c

Added an event when the clipboard is updated, triggered after the window gains the keyboard focus.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 08 Jul 2010 22:54:03 -0700
parents 098a8f3835f0
children 7b5e4396bcaa
line wrap: on
line diff
--- a/test/common.c	Thu Jul 08 06:21:48 2010 -0700
+++ b/test/common.c	Thu Jul 08 22:54:03 2010 -0700
@@ -1017,6 +1017,9 @@
         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;