src/video/x11/SDL_x11window.c
changeset 4590 1ad70fb49fcb
parent 3697 f7b03b6838cb
child 4591 1e998db9b597
equal deleted inserted replaced
4589:8d8a889530eb 4590:1ad70fb49fcb
   511     } else if (window->y == SDL_WINDOWPOS_UNDEFINED) {
   511     } else if (window->y == SDL_WINDOWPOS_UNDEFINED) {
   512         y = 0;
   512         y = 0;
   513     } else {
   513     } else {
   514         y = window->y;
   514         y = window->y;
   515     }
   515     }
       
   516 #ifdef SDL_VIDEO_DRIVER_X11_XRENDER
       
   517     xattr.background_pixel = 0xFF000000;
       
   518 #endif
   516 
   519 
   517     w = XCreateWindow(data->display,
   520     w = XCreateWindow(data->display,
   518                       RootWindow(data->display, displaydata->screen), x, y,
   521                       RootWindow(data->display, displaydata->screen), x, y,
   519                       window->w, window->h, 0, depth, InputOutput, visual,
   522                       window->w, window->h, 0, depth, InputOutput, visual,
   520                       (CWOverrideRedirect | CWBackPixel | CWBorderPixel |
   523                       (CWOverrideRedirect | CWBackPixel | CWBorderPixel |