Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11video.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 | c24ba2cc9583 7a602fd2121f |
children | 1002d074d459 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c Sun Aug 22 12:39:56 2010 -0700 +++ b/src/video/x11/SDL_x11video.c Sun Aug 22 13:45:56 2010 -0700 @@ -31,6 +31,7 @@ #include "SDL_x11video.h" #include "SDL_x11render.h" +#include "SDL_x11shape.h" #if SDL_VIDEO_DRIVER_PANDORA #include "SDL_x11opengles.h" @@ -205,6 +206,9 @@ device->SetWindowGrab = X11_SetWindowGrab; device->DestroyWindow = X11_DestroyWindow; device->GetWindowWMInfo = X11_GetWindowWMInfo; + device->shape_driver.CreateShaper = X11_CreateShaper; + device->shape_driver.SetWindowShape = X11_SetWindowShape; + device->shape_driver.ResizeWindowShape = X11_ResizeWindowShape; #ifdef SDL_VIDEO_OPENGL_GLX device->GL_LoadLibrary = X11_GL_LoadLibrary; device->GL_GetProcAddress = X11_GL_GetProcAddress;