Commit a25b51923aedd3f49eb16a6cb64b1fd9bc96078b

Sam Lantinga 2013-10-20T09:58:37

Fixed compiling with the new X11 symbol wrapping

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/video/x11/SDL_x11events.c b/src/video/x11/SDL_x11events.c
index e425212..df5a04e 100644
--- a/src/video/x11/SDL_x11events.c
+++ b/src/video/x11/SDL_x11events.c
@@ -524,12 +524,12 @@ X11_DispatchEvent(_THIS)
             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);