grpc-proxy/shell: Add width for split window
[src/agl-compositor.git] / grpc-proxy / shell.cpp
index 8e78b20..6dffe6b 100644 (file)
@@ -140,7 +140,7 @@ Shell::SetAppScale(const std::string &app_id,
 }
 
 void
-Shell::SetAppSplit(const std::string &app_id, uint32_t orientation, const std::string &output_name)
+Shell::SetAppSplit(const std::string &app_id, uint32_t orientation, uint32_t width, const std::string &output_name)
 {
        struct window_output *woutput, *w_output;
        struct agl_shell *shell = this->m_shell.get();
@@ -161,6 +161,6 @@ Shell::SetAppSplit(const std::string &app_id, uint32_t orientation, const std::s
                                           w_output, link);
 
 
-       agl_shell_set_app_split(shell, app_id.c_str(), orientation, w_output->output);
+       agl_shell_set_app_split(shell, app_id.c_str(), orientation, width, w_output->output);
        wl_display_flush(m_shell_data->wl_display);
 }