diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2024-01-31 19:10:34 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2024-02-22 13:51:33 +0000 |
commit | 000b725db81ae79ffec0a7a84a2c4aab2778dc82 (patch) | |
tree | cdcbd2f10846bf126ad0a5c598101e7d37ea2390 /grpc-proxy/shell.cpp | |
parent | b87f46acc5b0b252e4642f2130ef3093294afac8 (diff) |
grpc-proxy/shell: Add sticky parameter when setting up split window
This allow to further customize how to handle the split window.
There's no implementation in the compositor for allow this functionality
to take place, but doing so can be at a later point in time.
Tagging the split window as sticky should allow activation of other
windows while keeping the split window always displayed.
Bug-AGL: SPEC-4839
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Iae4d18d2a857497c11d0e77bf43f654e2b8ed501
Diffstat (limited to 'grpc-proxy/shell.cpp')
-rw-r--r-- | grpc-proxy/shell.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/grpc-proxy/shell.cpp b/grpc-proxy/shell.cpp index 6dffe6b..7267d70 100644 --- a/grpc-proxy/shell.cpp +++ b/grpc-proxy/shell.cpp @@ -140,7 +140,8 @@ Shell::SetAppScale(const std::string &app_id, } void -Shell::SetAppSplit(const std::string &app_id, uint32_t orientation, uint32_t width, const std::string &output_name) +Shell::SetAppSplit(const std::string &app_id, uint32_t orientation, + uint32_t width, uint32_t sticky, const std::string &output_name) { struct window_output *woutput, *w_output; struct agl_shell *shell = this->m_shell.get(); @@ -161,6 +162,6 @@ Shell::SetAppSplit(const std::string &app_id, uint32_t orientation, uint32_t wid w_output, link); - agl_shell_set_app_split(shell, app_id.c_str(), orientation, width, w_output->output); + agl_shell_set_app_split(shell, app_id.c_str(), orientation, width, sticky, w_output->output); wl_display_flush(m_shell_data->wl_display); } |