Code Review
/
src
/
agl-compositor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
protocol: Add set_app_normal request
[src/agl-compositor.git]
/
grpc-proxy
/
shell.cpp
diff --git
a/grpc-proxy/shell.cpp
b/grpc-proxy/shell.cpp
index
83032b1
..
eb2e08b
100644
(file)
--- a/
grpc-proxy/shell.cpp
+++ b/
grpc-proxy/shell.cpp
@@
-76,6
+76,15
@@
Shell::SetAppFloat(const std::string &app_id, int32_t x_pos, int32_t y_pos)
wl_display_flush(m_shell_data->wl_display);
}
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
Shell::SetAppSplit(const std::string &app_id, uint32_t orientation)
{
void
Shell::SetAppSplit(const std::string &app_id, uint32_t orientation)
{