diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-06-24 16:47:44 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-06-24 17:05:33 +0300 |
commit | b8a1d3020649e60873b4f25c1a85e231db2025cd (patch) | |
tree | a8d130556bb894ddbb3ef8c2a11fc78bbd389252 /launcher/src/shell-desktop.cpp | |
parent | 357e64291ddb7a7dcb644f307a86fa544807ca14 (diff) |
Update protocol to other surface roles
Bug-AGL: SPEC-3447
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ic0f57a1061d6d01bfcb43e90d45ab23a27815382
Diffstat (limited to 'launcher/src/shell-desktop.cpp')
-rw-r--r-- | launcher/src/shell-desktop.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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); } |