video_shell: Print position information separately 84/317584/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 11 Sep 2024 02:27:55 +0000 (11:27 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 12 Sep 2024 03:32:43 +0000 (12:32 +0900)
Change-Id: I3974b26a724dc2e58f7eda88e23a51ea1a9316f0

src/bin/server/e_video_shell.c

index 746449a..12519c8 100644 (file)
@@ -1884,7 +1884,7 @@ _viewport_info_print(E_Video_Viewport *viewport, FILE *fp)
    ec = e_surface_ec_get(e_subsurface_surface_get(viewport->subsurface));
    fprintf(fp, "\twindow: 0x%08zx\n", e_log_client_util_win_get(ec));
 
-   e_subsurface_coord_get(viewport->subsurface, &x, &y);
+   e_subsurface_position_get(viewport->subsurface, &x, &y);
    fprintf(fp, "\tposition: %d, %d\n", x, y);
    fprintf(fp, "\tdestination: %d x %d\n", viewport->current.width, viewport->current.height);
    fprintf(fp, "\ttransform: %s\n", _viewport_transform_to_str(viewport->current.transform));
@@ -1897,6 +1897,8 @@ _viewport_info_print(E_Video_Viewport *viewport, FILE *fp)
    fprintf(fp, "\tparent: 0x%08zx (%s)\n", e_log_client_util_win_get(ec), name ?: "");
    fprintf(fp, "\t\tmap: %s\n", viewport->parent_mapped ? "true" : "false");
    fprintf(fp, "\t\tvisible: %s\n", evas_object_visible_get(ec->frame) ? "true" : "false");
+   e_client_geometry_get(ec, &x, &y, NULL, NULL);
+   fprintf(fp, "\t\tposition: %d, %d\n", x, y);
 
    if (source)
      {