- pixmap_data = XCreatePixmapFromBitmapData(display, window->drawable, data,
- data_width, data_height, 1, 0, 1);
- pixmap_mask = XCreatePixmapFromBitmapData(display, window->drawable, mask,
- mask_width, mask_height, 1, 0, 1);
+ pixmap_data =
+ XCreatePixmapFromBitmapData(display, window->drawable, cursor_info->data,
+ cursor_info->width, cursor_info->height,
+ 1, 0, 1);
+ pixmap_mask =
+ XCreatePixmapFromBitmapData(display, window->drawable, cursor_info->mask,
+ cursor_info->width, cursor_info->height,
+ 1, 0, 1);