Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_win32events.c @ 4862:7b1d35d98294
Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 22 Aug 2010 13:45:56 -0700 |
parents | 518d1679d2d0 93402b9dd20c |
children | d6adaafcfb10 27c458e4ae31 |
comparison
equal
deleted
inserted
replaced
4764:102675835e08 | 4862:7b1d35d98294 |
---|---|
26 #endif | 26 #endif |
27 | 27 |
28 #include "SDL_config.h" | 28 #include "SDL_config.h" |
29 | 29 |
30 #include "SDL_win32video.h" | 30 #include "SDL_win32video.h" |
31 #include "SDL_win32shape.h" | |
31 #include "SDL_syswm.h" | 32 #include "SDL_syswm.h" |
32 #include "SDL_vkeys.h" | 33 #include "SDL_vkeys.h" |
33 #include "../../events/SDL_events_c.h" | 34 #include "../../events/SDL_events_c.h" |
34 | 35 |
35 | 36 |
362 int w, h; | 363 int w, h; |
363 int style; | 364 int style; |
364 BOOL menu; | 365 BOOL menu; |
365 | 366 |
366 /* If we allow resizing, let the resize happen naturally */ | 367 /* If we allow resizing, let the resize happen naturally */ |
368 if(SDL_IsShapedWindow(data->window)) | |
369 Win32_ResizeWindowShape(data->window); | |
367 if (SDL_GetWindowFlags(data->window) & SDL_WINDOW_RESIZABLE) { | 370 if (SDL_GetWindowFlags(data->window) & SDL_WINDOW_RESIZABLE) { |
368 returnCode = 0; | 371 returnCode = 0; |
369 break; | 372 break; |
370 } | 373 } |
371 | 374 |