Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11dyn.h @ 1248:d2c6881935be
Catch X11 extension errors...since most of these are notifications that we
queried for a missing extension (such as the XiG vidmode one that most
people don't have), and default Xlib behaviour is to write notification to
stderr, this tends to generate incorrect bug reports.
Since we'll actually deal with the missing extension when querying for it,
we ignore these errors in our hook. The rest continue to pass through to
the default handler.
Fixes Bugzilla #42.
--ryan.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 14 Jan 2006 08:15:38 +0000 |
parents | a388f2b59044 |
children | 2bf9dda618e5 |
comparison
equal
deleted
inserted
replaced
1247:ff73ee89ff4b | 1248:d2c6881935be |
---|---|
55 | 55 |
56 /* evil function signatures... */ | 56 /* evil function signatures... */ |
57 typedef Bool (*SDL_X11_XESetWireToEventRetType)(Display*,XEvent*,xEvent*); | 57 typedef Bool (*SDL_X11_XESetWireToEventRetType)(Display*,XEvent*,xEvent*); |
58 typedef int (*SDL_X11_XSynchronizeRetType)(Display*); | 58 typedef int (*SDL_X11_XSynchronizeRetType)(Display*); |
59 typedef Status (*SDL_X11_XESetEventToWireRetType)(Display*,XEvent*,xEvent*); | 59 typedef Status (*SDL_X11_XESetEventToWireRetType)(Display*,XEvent*,xEvent*); |
60 typedef int (*SDL_X11_XSetExtensionErrorHandlerType)(Display *,char *,char *); | |
60 | 61 |
61 #define SDL_X11_SYM(req,ret,fn,params) extern ret (*p##fn) params; | 62 #define SDL_X11_SYM(req,ret,fn,params) extern ret (*p##fn) params; |
62 #include "SDL_x11sym.h" | 63 #include "SDL_x11sym.h" |
63 #undef SDL_X11_SYM | 64 #undef SDL_X11_SYM |
64 | 65 |