From b8a1d3020649e60873b4f25c1a85e231db2025cd Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 24 Jun 2020 16:47:44 +0300 Subject: Update protocol to other surface roles Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad Change-Id: Ic0f57a1061d6d01bfcb43e90d45ab23a27815382 --- launcher/src/shell-desktop.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'launcher/src/shell-desktop.cpp') diff --git a/launcher/src/shell-desktop.cpp b/launcher/src/shell-desktop.cpp index b8e6ef0..8b78f6f 100644 --- a/launcher/src/shell-desktop.cpp +++ b/launcher/src/shell-desktop.cpp @@ -85,7 +85,8 @@ Shell::deactivate_app(const QString &app_id) void Shell::set_window_props(QWindow *win, const QString &app_id, - uint32_t props, int x, int y) + uint32_t props, int x, int y, int bx, int by, + int bwidth, int bheight) { QScreen *screen = nullptr; struct wl_output *output; @@ -103,5 +104,6 @@ Shell::set_window_props(QWindow *win, const QString &app_id, output = getWlOutput(screen); agl_shell_desktop_set_app_property(this->shell.get(), app_id.toStdString().c_str(), - props, x, y, output); + props, x, y, bx, by, + bwidth, bheight, output); } -- cgit 1.2.3-korg