src/video/wayland/SDL_waylandvideo.c
changeset 13391 d984274996dd
parent 13000 e6407f3ddba3
child 13422 fd6a12de91c7
equal deleted inserted replaced
13390:0f7577d28c6c 13391:d984274996dd
   379     } else if (strcmp(interface, "zwp_relative_pointer_manager_v1") == 0) {
   379     } else if (strcmp(interface, "zwp_relative_pointer_manager_v1") == 0) {
   380         Wayland_display_add_relative_pointer_manager(d, id);
   380         Wayland_display_add_relative_pointer_manager(d, id);
   381     } else if (strcmp(interface, "zwp_pointer_constraints_v1") == 0) {
   381     } else if (strcmp(interface, "zwp_pointer_constraints_v1") == 0) {
   382         Wayland_display_add_pointer_constraints(d, id);
   382         Wayland_display_add_pointer_constraints(d, id);
   383     } else if (strcmp(interface, "wl_data_device_manager") == 0) {
   383     } else if (strcmp(interface, "wl_data_device_manager") == 0) {
   384         d->data_device_manager = wl_registry_bind(d->registry, id, &wl_data_device_manager_interface, 3);
   384         d->data_device_manager = wl_registry_bind(d->registry, id, &wl_data_device_manager_interface, SDL_min(3, version));
   385     } else if (strcmp(interface, "zxdg_decoration_manager_v1") == 0) {
   385     } else if (strcmp(interface, "zxdg_decoration_manager_v1") == 0) {
   386         d->decoration_manager = wl_registry_bind(d->registry, id, &zxdg_decoration_manager_v1_interface, 1);
   386         d->decoration_manager = wl_registry_bind(d->registry, id, &zxdg_decoration_manager_v1_interface, 1);
   387     } else if (strcmp(interface, "org_kde_kwin_server_decoration_manager") == 0) {
   387     } else if (strcmp(interface, "org_kde_kwin_server_decoration_manager") == 0) {
   388         d->kwin_server_decoration_manager = wl_registry_bind(d->registry, id, &org_kde_kwin_server_decoration_manager_interface, 1);
   388         d->kwin_server_decoration_manager = wl_registry_bind(d->registry, id, &org_kde_kwin_server_decoration_manager_interface, 1);
   389 
   389