Wayland: Fixed storing a theme cursor which is never used in video data.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 16 Mar 2016 22:09:23 +0100
changeset 10119ac9831ff70d1
parent 10117 7552aa4c1c6d
child 10120 f49e8a97c214
Wayland: Fixed storing a theme cursor which is never used in video data.
src/video/wayland/SDL_waylandvideo.c
src/video/wayland/SDL_waylandvideo.h
     1.1 --- a/src/video/wayland/SDL_waylandvideo.c	Fri Mar 11 08:33:47 2016 -0800
     1.2 +++ b/src/video/wayland/SDL_waylandvideo.c	Wed Mar 16 22:09:23 2016 +0100
     1.3 @@ -253,7 +253,6 @@
     1.4      } else if (strcmp(interface, "wl_shm") == 0) {
     1.5          d->shm = wl_registry_bind(registry, id, &wl_shm_interface, 1);
     1.6          d->cursor_theme = WAYLAND_wl_cursor_theme_load(NULL, 32, d->shm);
     1.7 -        d->default_cursor = WAYLAND_wl_cursor_theme_get_cursor(d->cursor_theme, "left_ptr");
     1.8  
     1.9  #ifdef SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH
    1.10      } else if (strcmp(interface, "qt_touch_extension") == 0) {
     2.1 --- a/src/video/wayland/SDL_waylandvideo.h	Fri Mar 11 08:33:47 2016 -0800
     2.2 +++ b/src/video/wayland/SDL_waylandvideo.h	Wed Mar 16 22:09:23 2016 +0100
     2.3 @@ -42,7 +42,6 @@
     2.4      struct wl_compositor *compositor;
     2.5      struct wl_shm *shm;
     2.6      struct wl_cursor_theme *cursor_theme;
     2.7 -    struct wl_cursor *default_cursor;
     2.8      struct wl_pointer *pointer;
     2.9      struct wl_shell *shell;
    2.10