Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11shape.c @ 4809:329708ffe2a7
Rejiggering the way shaped windows are created as preparation for OS X implementation. Fixed overdrive bug in test program that appears to have been introduced by someone other than myself.
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Mon, 26 Jul 2010 17:27:04 -0400 |
parents | c9eb95f29770 |
children | c68e7490e4cf |
comparison
equal
deleted
inserted
replaced
4808:2ae79ed78a5a | 4809:329708ffe2a7 |
---|---|
22 | 22 |
23 #include <assert.h> | 23 #include <assert.h> |
24 #include "SDL_x11video.h" | 24 #include "SDL_x11video.h" |
25 #include "SDL_x11shape.h" | 25 #include "SDL_x11shape.h" |
26 #include "SDL_x11window.h" | 26 #include "SDL_x11window.h" |
27 | |
28 SDL_Window* X11_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags) { | |
29 return SDL_CreateWindow(title,x,y,w,h,flags); | |
30 } | |
27 | 31 |
28 SDL_WindowShaper* X11_CreateShaper(SDL_Window* window) { | 32 SDL_WindowShaper* X11_CreateShaper(SDL_Window* window) { |
29 SDL_WindowShaper* result = NULL; | 33 SDL_WindowShaper* result = NULL; |
30 | 34 |
31 #if SDL_VIDEO_DRIVER_X11_XSHAPE | 35 #if SDL_VIDEO_DRIVER_X11_XSHAPE |