From 676041aa16ddbf2184ac1f5b55c8411e01c59e43 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Fri, 11 Mar 2016 22:10:15 +0100 Subject: [PATCH] Wayland: Fixed drawing created cursors without transparency. --- src/video/wayland/SDL_waylandmouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/wayland/SDL_waylandmouse.c b/src/video/wayland/SDL_waylandmouse.c index 609802fe89827..740cbf8a7b20c 100644 --- a/src/video/wayland/SDL_waylandmouse.c +++ b/src/video/wayland/SDL_waylandmouse.c @@ -174,7 +174,7 @@ Wayland_CreateCursor(SDL_Surface *surface, int hot_x, int hot_y) if (create_buffer_from_shm (data, surface->w, surface->h, - WL_SHM_FORMAT_XRGB8888) < 0) + WL_SHM_FORMAT_ARGB8888) < 0) { free (cursor->driverdata); free (cursor);