Fixed compiling with the new X11 symbol wrapping

This commit is contained in:
Sam Lantinga 2013-10-20 09:58:37 -07:00
parent 6a3478c235
commit a25b51923a

View File

@ -524,12 +524,12 @@ X11_DispatchEvent(_THIS)
long border_top = 0; long border_top = 0;
long border_bottom = 0; long border_bottom = 0;
if (data->xwindow) { if (data->xwindow) {
Atom _net_frame_extents = XInternAtom(display, "_NET_FRAME_EXTENTS", 0); Atom _net_frame_extents = X11_XInternAtom(display, "_NET_FRAME_EXTENTS", 0);
Atom type; Atom type;
int format; int format;
unsigned long nitems, bytes_after; unsigned long nitems, bytes_after;
unsigned char *property; unsigned char *property;
XGetWindowProperty(display, data->xwindow, X11_XGetWindowProperty(display, data->xwindow,
_net_frame_extents, 0, 16, 0, _net_frame_extents, 0, 16, 0,
XA_CARDINAL, &type, &format, XA_CARDINAL, &type, &format,
&nitems, &bytes_after, &property); &nitems, &bytes_after, &property);