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
grpc-proxy/shell: Add width for split window
[src/agl-compositor.git]
/
grpc-proxy
/
shell.cpp
diff --git
a/grpc-proxy/shell.cpp
b/grpc-proxy/shell.cpp
index
8e78b20
..
6dffe6b
100644
(file)
--- a/
grpc-proxy/shell.cpp
+++ b/
grpc-proxy/shell.cpp
@@
-140,7
+140,7
@@
Shell::SetAppScale(const std::string &app_id,
}
void
}
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();
{
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);
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, w
idth, w
_output->output);
wl_display_flush(m_shell_data->wl_display);
}
wl_display_flush(m_shell_data->wl_display);
}