mirror of
https://github.com/yawut/SDL.git
synced 2026-04-17 14:26:02 -05:00
Merged Ryan's fix, in case we need it later.
This commit is contained in:
parent
b94f08253a
commit
dbc11167df
|
|
@ -408,4 +408,14 @@ XiGMiscFullScreen(Display * dpy, int screen, XID window, XID cmap)
|
|||
return (rep.success ? xTrue : xFalse);
|
||||
}
|
||||
|
||||
/* SDL addition from Ryan: free memory used by xme. */
|
||||
void
|
||||
XiGMiscDestroy(void)
|
||||
{
|
||||
if (xigmisc_info) {
|
||||
XextDestroyExtension(xigmisc_info);
|
||||
xigmisc_info = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
|
|
|||
|
|
@ -38,5 +38,9 @@ extern int XiGMiscQueryResolutions(Display * dpy, int screen, int view,
|
|||
XiGMiscResolutionInfo ** presolutions);
|
||||
extern void XiGMiscChangeResolution(Display * dpy, int screen, int view,
|
||||
int width, int height, int refresh);
|
||||
|
||||
/* SDL addition from Ryan: free memory used by xme. */
|
||||
extern void XiGMiscDestroy(void);
|
||||
|
||||
#endif /* _XME_H_INCLUDED */
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user