diff options
author | 2020-06-24 16:37:50 +0300 | |
---|---|---|
committer | 2020-06-24 16:39:44 +0300 | |
commit | 8df89d050fba38b68ecef6a45abeeb3c7bc3661e (patch) | |
tree | 46e1f4d5097559467ca0740ede99201978088619 /app/shell-desktop.cpp | |
parent | b27fb5eef34a7df7a51dc6e1a94e36f0c94ce8d8 (diff) |
Add protocol remote role and bounding boxsandbox/mvlad/agl-compositor
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'app/shell-desktop.cpp')
-rw-r--r-- | app/shell-desktop.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/shell-desktop.cpp b/app/shell-desktop.cpp index 2aa5ee1..7cd239d 100644 --- a/app/shell-desktop.cpp +++ b/app/shell-desktop.cpp @@ -77,7 +77,9 @@ void Shell::deactivate_app(const QString &app_id) flush_connection(); } -void Shell::set_window_props(QWindow *win, const QString &app_id, uint32_t props, int x, int y) +void Shell::set_window_props(QWindow *win, const QString &app_id, + uint32_t props, int x, int y, int bx, int by, + int bwidth, int bheight) { QScreen *screen = nullptr; struct wl_output *output; @@ -95,6 +97,6 @@ void Shell::set_window_props(QWindow *win, const QString &app_id, uint32_t props 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); flush_connection(); } |