grpc-proxy: Add set_app_fullscreen functionality
[src/agl-compositor.git] / grpc-proxy / shell.cpp
index eb2e08b..ef5c22f 100644 (file)
@@ -85,6 +85,15 @@ Shell::SetAppNormal(const std::string &app_id)
        wl_display_flush(m_shell_data->wl_display);
 }
 
+void
+Shell::SetAppFullscreen(const std::string &app_id)
+{
+       struct agl_shell *shell = this->m_shell.get();
+
+       agl_shell_set_app_fullscreen(shell, app_id.c_str());
+       wl_display_flush(m_shell_data->wl_display);
+}
+
 void
 Shell::SetAppSplit(const std::string &app_id, uint32_t orientation)
 {