src/video/x11/SDL_x11window.c
changeset 4782 b6930aefd008
parent 3697 f7b03b6838cb
child 4862 7b1d35d98294
     1.1 --- a/src/video/x11/SDL_x11window.c	Mon Jun 21 23:08:10 2010 -0400
     1.2 +++ b/src/video/x11/SDL_x11window.c	Wed Jun 30 16:19:44 2010 -0400
     1.3 @@ -28,6 +28,7 @@
     1.4  #include "SDL_x11video.h"
     1.5  #include "SDL_x11mouse.h"
     1.6  #include "SDL_x11gamma.h"
     1.7 +#include "SDL_x11shape.h"
     1.8  #include "../Xext/extensions/StdCmap.h"
     1.9  
    1.10  #ifdef SDL_VIDEO_DRIVER_PANDORA
    1.11 @@ -897,6 +898,8 @@
    1.12      SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
    1.13      Display *display = data->videodata->display;
    1.14  
    1.15 +    if(SDL_IsShapedWindow(window))
    1.16 +        X11_ResizeWindowShape(window);
    1.17      XResizeWindow(display, data->xwindow, window->w, window->h);
    1.18  }
    1.19