window->shell_surface = wl_shell_get_shell_surface (display->shell,
window->surface);
#endif
-
+
window->viewport = wl_scaler_get_viewport (display->scaler, window->surface);
/* do not accept input */
wl_region_destroy (region);
#ifdef GST_WLSINK_ENHANCEMENT
- window->video_object = tizen_video_get_object(display->tizen_video, window->surface);
+ window->video_object =
+ tizen_video_get_object (display->tizen_video, window->surface);
#endif
return window;
GstWlWindow *window;
+ /* not create shell_surface here for enlightenment */
+ display->need_shell_surface = TRUE;
+
window = gst_wl_window_new_internal (display,
wl_compositor_create_surface (display->compositor));
gst_wl_window_set_render_rectangle (window, 0, 0, window->video_width,
window->video_height);
-#ifdef GST_WLSINK_ENHANCEMENT
- /* not create shell_surface here for enlightenment */
- display->need_shell_surface = TRUE;
-#else
+#ifndef GST_WLSINK_ENHANCEMENT
+ /* go toplevel */
window->shell_surface = wl_shell_get_shell_surface (display->shell,
- window->surface);
+ window->area_surface);
#endif
if (window->shell_surface) {