src/video/x11/SDL_x11window.c
changeset 7750 48acb5c00c4b
parent 7741 199d77d7bf1c
child 7808 627f256b0e56
--- a/src/video/x11/SDL_x11window.c	Fri Sep 27 23:35:17 2013 -0700
+++ b/src/video/x11/SDL_x11window.c	Fri Sep 27 23:47:57 2013 -0700
@@ -395,7 +395,7 @@
     }
 
     xattr.override_redirect = False;
-    xattr.background_pixel = 0;
+    xattr.background_pixmap = None;
     xattr.border_pixel = 0;
 
     if (visual->class == DirectColor) {
@@ -480,7 +480,7 @@
     w = XCreateWindow(display, RootWindow(display, screen),
                       window->x, window->y, window->w, window->h,
                       0, depth, InputOutput, visual,
-                      (CWOverrideRedirect | CWBackPixel | CWBorderPixel |
+                      (CWOverrideRedirect | CWBackPixmap | CWBorderPixel |
                        CWColormap), &xattr);
     if (!w) {
         return SDL_SetError("Couldn't create window");