# HG changeset patch # User Eli Gottlieb # Date 1278534054 14400 # Node ID 175da36d134225c5784556dde6af6fc57383e259 # Parent ef8b32ef9793e3014e675ddb2ecea920b2ddd20f Fixed up shape files as best I can. diff -r ef8b32ef9793 -r 175da36d1342 src/video/SDL_shape.c --- a/src/video/SDL_shape.c Tue Jul 06 22:05:22 2010 -0400 +++ b/src/video/SDL_shape.c Wed Jul 07 16:20:54 2010 -0400 @@ -62,7 +62,7 @@ } int SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode) { - if(window == NULL || !SDL_WindowIsShaped(window)) + if(window == NULL || !SDL_IsShapedWindow(window)) //The window given was not a shapeable window. return -2; if(shape == NULL) diff -r ef8b32ef9793 -r 175da36d1342 src/video/x11/SDL_x11shape.c --- a/src/video/x11/SDL_x11shape.c Tue Jul 06 22:05:22 2010 -0400 +++ b/src/video/x11/SDL_x11shape.c Wed Jul 07 16:20:54 2010 -0400 @@ -20,6 +20,7 @@ eligottlieb@gmail.com */ +#include #include #include "SDL_x11shape.h" #include "SDL_x11window.h"