summaryrefslogtreecommitdiffstats
path: root/app/shell-desktop.cpp
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-06-24 16:37:50 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-06-24 17:51:59 +0300
commit40e6e78a19483dc5822ded81cea041f3983a877f (patch)
tree67d545f104646fa6e73ad8c79e4ade0028b16707 /app/shell-desktop.cpp
parent11b9762f115778309f732f10102a23f4598a4cf7 (diff)
Add protocol remote role and bounding boxjellyfish_9.99.1jellyfish/9.99.19.99.1
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Icdcd76a75177dd7dd20a3a4e69fa1b79edc5de8d
Diffstat (limited to 'app/shell-desktop.cpp')
-rw-r--r--app/shell-desktop.cpp6
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();
}