summaryrefslogtreecommitdiffstats
path: root/src/AglShellGrpcClient.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-07-31 14:48:49 +0300
committerMarius Vlad <marius.vlad@collabora.com>2023-08-31 07:21:53 +0000
commit21772bfc2d482248e2df5438039a70d5231bc993 (patch)
tree8ade3504cc90b868598aab0a9e36b7618f3f45ff /src/AglShellGrpcClient.h
parentad0d2072c885d5ef6065ea5039536fe0d01a6871 (diff)
Add SetAppPosition example usage
This adds support for set_app_position to allow dynamic positioning of windows, as requested in SPEC-4863. Bug-AGL: SPEC-4863 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I9ef1c52ef0de6bb250291cfbb561d58418cd0ee2
Diffstat (limited to 'src/AglShellGrpcClient.h')
-rw-r--r--src/AglShellGrpcClient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AglShellGrpcClient.h b/src/AglShellGrpcClient.h
index 7c30fe6..bc246d9 100644
--- a/src/AglShellGrpcClient.h
+++ b/src/AglShellGrpcClient.h
@@ -94,6 +94,7 @@ public:
bool SetAppFloat(const std::string& app_id, int32_t x_pos, int32_t y_pos);
bool SetAppFullscreen(const std::string& app_id);
bool SetAppOnOutput(const std::string& app_id, const std::string& output);
+ bool SetAppPosition(const std::string& app_id, int32_t x, int32_t y);
std::vector<std::string> GetOutputs();
void GetAppState();
void AppStatusState(Callback callback);