Explorar o código

wayland: Woops, forgot to assign cursor theme size...

Ethan Lee %!s(int64=4) %!d(string=hai) anos
pai
achega
9b74623be9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/video/wayland/SDL_waylandmouse.c

+ 1 - 0
src/video/wayland/SDL_waylandmouse.c

@@ -95,6 +95,7 @@ wayland_get_system_cursor(SDL_VideoData *vdata, Wayland_CursorData *cdata, float
             return SDL_FALSE;
             return SDL_FALSE;
         }
         }
         theme = WAYLAND_wl_cursor_theme_load(NULL, size, vdata->shm);
         theme = WAYLAND_wl_cursor_theme_load(NULL, size, vdata->shm);
+        vdata->cursor_themes[vdata->num_cursor_themes].size = size;
         vdata->cursor_themes[vdata->num_cursor_themes++].theme = theme;
         vdata->cursor_themes[vdata->num_cursor_themes++].theme = theme;
     }
     }