X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fshell.c;fp=src%2Fshell.c;h=3ef24eff4d1dd4ff6a9363a57f97f305c9c4c006;hb=bf7c3de795a3d80cb78b8fd5b8640a564fa0155d;hp=a6c8a5b95c7a1e3857a4cc72e84a60a84dbfc8f0;hpb=0ca7f35ae449428e7c2bd969d20a88f03de442bc;p=src%2Fagl-compositor.git diff --git a/src/shell.c b/src/shell.c index a6c8a5b..3ef24ef 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1866,6 +1866,7 @@ _ivi_set_shell_surface_split(struct ivi_surface *surface, struct ivi_output *iou struct weston_view *ev = surface->view; struct weston_geometry geom = {}; struct ivi_output *output = NULL; + struct weston_coord_global pos; int new_width, new_height; int x, y; @@ -1970,7 +1971,10 @@ _ivi_set_shell_surface_split(struct ivi_surface *surface, struct ivi_output *iou ivi_shell_activate_surface(surface, ivi_seat, WESTON_ACTIVATE_FLAG_NONE); } - weston_view_set_position(surface->view, x, y); + pos.c.x = x; + pos.c.y = y; + + weston_view_set_position(surface->view, pos); weston_desktop_surface_set_size(surface->dsurface, new_width, new_height); weston_desktop_surface_set_orientation(surface->dsurface, orientation); surface->orientation = orientation;