aboutsummaryrefslogtreecommitdiffstats
path: root/launcher/src/shell-desktop.cpp
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-06-24 16:47:44 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-06-24 16:47:44 +0300
commit2ab09a7fc858f74361d37cf540aa7b1f80ed61ae (patch)
treee47fb55c4bafb00ffb72e344c2fea5115a3f5f43 /launcher/src/shell-desktop.cpp
parent8df9e8be3a4790469ae40cfc56efe2dacd943add (diff)
Update protocol to other surface rolessandbox/mvlad/agl-compositor
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'launcher/src/shell-desktop.cpp')
-rw-r--r--launcher/src/shell-desktop.cpp6
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);
}