+
+#ifdef ECORE_WAYLAND2
+ Ecore_Wl2_Input* input = ecore_wl2_input_default_input_get( ecore_wl2_connected_display_get( NULL ) );
+ ecore_wl2_dnd_selection_set( input, types );
+#else
+ ecore_wl_dnd_selection_set( ecore_wl_input_get(), types );
+#endif