소스 검색

Fixed compiling with the new X11 symbol wrapping

Sam Lantinga 12 년 전
부모
커밋
a25b51923a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/video/x11/SDL_x11events.c

+ 2 - 2
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);