Show the size changed window message
authorSam Lantinga
Fri, 28 Sep 2012 14:42:47 -0700
changeset 650881a3d541d9a2
parent 6507 42acda949dfb
child 6509 e94d5a5376c1
Show the size changed window message
test/common.c
     1.1 --- a/test/common.c	Fri Sep 28 14:22:33 2012 -0700
     1.2 +++ b/test/common.c	Fri Sep 28 14:42:47 2012 -0700
     1.3 @@ -871,6 +871,11 @@
     1.4                      event->window.windowID, event->window.data1,
     1.5                      event->window.data2);
     1.6              break;
     1.7 +        case SDL_WINDOWEVENT_SIZE_CHANGED:
     1.8 +            fprintf(stderr, "Window %d changed size to %dx%d",
     1.9 +                    event->window.windowID, event->window.data1,
    1.10 +                    event->window.data2);
    1.11 +            break;
    1.12          case SDL_WINDOWEVENT_MINIMIZED:
    1.13              fprintf(stderr, "Window %d minimized", event->window.windowID);
    1.14              break;