X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=grpc-proxy%2Fshell.cpp;h=eb2e08ba9ff16ad586747eba430119c13768b0fd;hb=refs%2Fchanges%2F51%2F28551%2F1;hp=b96ac39414e12a4df2a0d70693d607ec60daa64b;hpb=65fc5191f046ad8c7ba1bfd9e2e75afb925b4a21;p=src%2Fagl-compositor.git diff --git a/grpc-proxy/shell.cpp b/grpc-proxy/shell.cpp index b96ac39..eb2e08b 100644 --- a/grpc-proxy/shell.cpp +++ b/grpc-proxy/shell.cpp @@ -68,9 +68,21 @@ Shell::DeactivateApp(const std::string &app_id) } void -Shell::SetAppFloat(const std::string &app_id) +Shell::SetAppFloat(const std::string &app_id, int32_t x_pos, int32_t y_pos) { - (void) app_id; + struct agl_shell *shell = this->m_shell.get(); + + agl_shell_set_app_float(shell, app_id.c_str(), x_pos, y_pos); + wl_display_flush(m_shell_data->wl_display); +} + +void +Shell::SetAppNormal(const std::string &app_id) +{ + struct agl_shell *shell = this->m_shell.get(); + + agl_shell_set_app_normal(shell, app_id.c_str()); + wl_display_flush(m_shell_data->wl_display); } void