Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add new X11 symbols that XShape support needs to the dynamic function…

… list.
  • Loading branch information
icculus committed Jul 13, 2010
1 parent cae33f7 commit 2978c9f530718bce6443a390211b212484bcd60a
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/video/x11/SDL_x11sym.h
@@ -151,6 +151,7 @@ SDL_X11_SYM(SDL_X11_XSynchronizeRetType,XSynchronize,(Display* a,Bool b),(a,b),r
SDL_X11_SYM(SDL_X11_XESetWireToEventRetType,XESetWireToEvent,(Display* a,int b,SDL_X11_XESetWireToEventRetType c),(a,b,c),return)
SDL_X11_SYM(SDL_X11_XESetEventToWireRetType,XESetEventToWire,(Display* a,int b,SDL_X11_XESetEventToWireRetType c),(a,b,c),return)
SDL_X11_SYM(XExtensionErrorHandler,XSetExtensionErrorHandler,(XExtensionErrorHandler a),(a),return)
SDL_X11_SYM(Pixmap,XCreateBitmapFromData,(Display *dpy,Drawable d,_Xconst char *data,unsigned int width,unsigned int height),(dpy,d,data,width,height),return)

#if NeedWidePrototypes
SDL_X11_SYM(KeySym,XKeycodeToKeysym,(Display* a,unsigned int b,int c),(a,b,c),return)
@@ -232,6 +233,11 @@ SDL_X11_SYM(Status,XScreenSaverQueryVersion,(Display *dpy,int *major_versionp,in
SDL_X11_SYM(void,XScreenSaverSuspend,(Display *dpy,Bool suspend),(dpy,suspend),return)
#endif

#if 1 /* !!! FIXME: SDL_VIDEO_DRIVER_X11_XSHAPE */
SDL_X11_MODULE(XSHAPE)
SDL_X11_SYM(void,XShapeCombineMask,(Display *dpy,Window dest,int dest_kind,int x_off,int y_off,Pixmap src,int op),(dpy,dest,dest_kind,x_off,y_off,src,op),)
#endif

/* *INDENT-ON* */

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 2978c9f

Please sign in to comment.