diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-09-19 22:21:09 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-09-19 22:21:09 +0100 |
commit | 81f3fda6fa9b0789c8b40582a4b85b2e9501c185 (patch) | |
tree | e31bf430e22c75dd53a857357bfbaa07f6177f1f /sway/tree | |
parent | 5912325d5ca63a552bb1f8e5de0b088e9bfa83e4 (diff) | |
download | sway-81f3fda6fa9b0789c8b40582a4b85b2e9501c185.tar.xz |
ipc: add pid information for views in layout tree
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/view.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index e4e1c161..4398f518 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -470,6 +470,7 @@ static struct sway_workspace *select_workspace(struct sway_view *view) { wl_resource_get_client(view->surface->resource); wl_client_get_credentials(client, &pid, NULL, NULL); #endif + view->pid = pid; ws = root_workspace_for_pid(pid); if (ws) { return ws; |