Wayland: Fixed drawing created cursors without transparency.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 11 Mar 2016 22:10:15 +0100
changeset 10114 6740b15172f0
parent 10113 991977532d7f
child 10115 4f54ed649bf7
Wayland: Fixed drawing created cursors without transparency.
src/video/wayland/SDL_waylandmouse.c
--- a/src/video/wayland/SDL_waylandmouse.c	Fri Mar 11 22:09:50 2016 +0100
+++ b/src/video/wayland/SDL_waylandmouse.c	Fri Mar 11 22:10:15 2016 +0100
@@ -174,7 +174,7 @@
         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);