src/video/x11/SDL_x11mouse.c
changeset 12968 0e3948762c96
parent 12503 806492103856
equal deleted inserted replaced
12966:0262d439e9c6 12968:0e3948762c96
    46         Display *display = GetDisplay();
    46         Display *display = GetDisplay();
    47         char data[1];
    47         char data[1];
    48         XColor color;
    48         XColor color;
    49         Pixmap pixmap;
    49         Pixmap pixmap;
    50 
    50 
    51         SDL_zero(data);
    51         SDL_zeroa(data);
    52         color.red = color.green = color.blue = 0;
    52         color.red = color.green = color.blue = 0;
    53         pixmap = X11_XCreateBitmapFromData(display, DefaultRootWindow(display),
    53         pixmap = X11_XCreateBitmapFromData(display, DefaultRootWindow(display),
    54                                        data, 1, 1);
    54                                        data, 1, 1);
    55         if (pixmap) {
    55         if (pixmap) {
    56             x11_empty_cursor = X11_XCreatePixmapCursor(display, pixmap, pixmap,
    56             x11_empty_cursor = X11_XCreatePixmapCursor(display, pixmap, pixmap,