Show the size changed window message
authorSam Lantinga <slouken@libsdl.org>
Fri, 28 Sep 2012 14:42:47 -0700
changeset 6508 81a3d541d9a2
parent 6507 42acda949dfb
child 6509 e94d5a5376c1
Show the size changed window message
test/common.c
--- a/test/common.c	Fri Sep 28 14:22:33 2012 -0700
+++ b/test/common.c	Fri Sep 28 14:42:47 2012 -0700
@@ -871,6 +871,11 @@
                     event->window.windowID, event->window.data1,
                     event->window.data2);
             break;
+        case SDL_WINDOWEVENT_SIZE_CHANGED:
+            fprintf(stderr, "Window %d changed size to %dx%d",
+                    event->window.windowID, event->window.data1,
+                    event->window.data2);
+            break;
         case SDL_WINDOWEVENT_MINIMIZED:
             fprintf(stderr, "Window %d minimized", event->window.windowID);
             break;