src/video/wayland/SDL_waylandvideo.c
changeset 10119 ac9831ff70d1
parent 9998 f67cf37e9cd4
child 10187 1f0f8c95531d
equal deleted inserted replaced
10117:7552aa4c1c6d 10119:ac9831ff70d1
   251     } else if (strcmp(interface, "wl_shell") == 0) {
   251     } else if (strcmp(interface, "wl_shell") == 0) {
   252         d->shell = wl_registry_bind(d->registry, id, &wl_shell_interface, 1);
   252         d->shell = wl_registry_bind(d->registry, id, &wl_shell_interface, 1);
   253     } else if (strcmp(interface, "wl_shm") == 0) {
   253     } else if (strcmp(interface, "wl_shm") == 0) {
   254         d->shm = wl_registry_bind(registry, id, &wl_shm_interface, 1);
   254         d->shm = wl_registry_bind(registry, id, &wl_shm_interface, 1);
   255         d->cursor_theme = WAYLAND_wl_cursor_theme_load(NULL, 32, d->shm);
   255         d->cursor_theme = WAYLAND_wl_cursor_theme_load(NULL, 32, d->shm);
   256         d->default_cursor = WAYLAND_wl_cursor_theme_get_cursor(d->cursor_theme, "left_ptr");
       
   257 
   256 
   258 #ifdef SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH
   257 #ifdef SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH
   259     } else if (strcmp(interface, "qt_touch_extension") == 0) {
   258     } else if (strcmp(interface, "qt_touch_extension") == 0) {
   260         Wayland_touch_create(d, id);
   259         Wayland_touch_create(d, id);
   261     } else if (strcmp(interface, "qt_surface_extension") == 0) {
   260     } else if (strcmp(interface, "qt_surface_extension") == 0) {