Fixed compiling with the new X11 symbol wrapping
authorSam Lantinga <slouken@libsdl.org>
Sun, 20 Oct 2013 09:58:37 -0700
changeset 7839d2804f8153fe
parent 7838 909b0d7fe4dd
child 7840 7e9cd472a889
Fixed compiling with the new X11 symbol wrapping
src/video/x11/SDL_x11events.c
     1.1 --- a/src/video/x11/SDL_x11events.c	Sun Oct 20 17:23:43 2013 +0200
     1.2 +++ b/src/video/x11/SDL_x11events.c	Sun Oct 20 09:58:37 2013 -0700
     1.3 @@ -524,12 +524,12 @@
     1.4              long border_top = 0;
     1.5              long border_bottom = 0;
     1.6              if (data->xwindow) {
     1.7 -                Atom _net_frame_extents = XInternAtom(display, "_NET_FRAME_EXTENTS", 0);
     1.8 +                Atom _net_frame_extents = X11_XInternAtom(display, "_NET_FRAME_EXTENTS", 0);
     1.9                  Atom type;
    1.10                  int format;
    1.11                  unsigned long nitems, bytes_after;
    1.12                  unsigned char *property;
    1.13 -                XGetWindowProperty(display, data->xwindow,
    1.14 +                X11_XGetWindowProperty(display, data->xwindow,
    1.15                      _net_frame_extents, 0, 16, 0,
    1.16                      XA_CARDINAL, &type, &format,
    1.17                      &nitems, &bytes_after, &property);