Mercurial > sdl-ios-xcode
diff src/video/SDL_shape.c @ 4848:40b46225e3cf
Added SDL_SetWindowPosition() call to SDL_SetWindowShape(), going to see what this does on Windows.
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Thu, 12 Aug 2010 18:17:15 -0400 |
parents | 4f1573996a65 |
children | 0b918c186938 |
line wrap: on
line diff
--- a/src/video/SDL_shape.c Tue Aug 10 16:10:26 2010 -0400 +++ b/src/video/SDL_shape.c Thu Aug 12 18:17:15 2010 -0400 @@ -240,6 +240,7 @@ result = window->display->device->shape_driver.SetWindowShape(window->shaper,shape,shapeMode); window->shaper->hasshape = SDL_TRUE; if((window->shaper->usershownflag & SDL_WINDOW_SHOWN) == SDL_WINDOW_SHOWN) { + SDL_SetWindowPosition(window,window->x,window->y); SDL_ShowWindow(window); window->shaper->usershownflag &= !SDL_WINDOW_SHOWN; }