Fixed compiling with the new X11 symbol wrapping
authorSam Lantinga <slouken@libsdl.org>
Sun, 20 Oct 2013 09:58:37 -0700
changeset 7839 d2804f8153fe
parent 7838 909b0d7fe4dd
child 7840 7e9cd472a889
Fixed compiling with the new X11 symbol wrapping
src/video/x11/SDL_x11events.c
--- a/src/video/x11/SDL_x11events.c	Sun Oct 20 17:23:43 2013 +0200
+++ b/src/video/x11/SDL_x11events.c	Sun Oct 20 09:58:37 2013 -0700
@@ -524,12 +524,12 @@
             long border_top = 0;
             long border_bottom = 0;
             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;
                 int format;
                 unsigned long nitems, bytes_after;
                 unsigned char *property;
-                XGetWindowProperty(display, data->xwindow,
+                X11_XGetWindowProperty(display, data->xwindow,
                     _net_frame_extents, 0, 16, 0,
                     XA_CARDINAL, &type, &format,
                     &nitems, &bytes_after, &property);