diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-09-19 17:37:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-19 17:37:58 -0400 |
commit | 6ec362622841a3efe336daf9e74edca16e4bf984 (patch) | |
tree | cc5389a07ff451e7ad3c0b9ab8479723623e21b0 /sway/tree | |
parent | f0fb27aba6b6e4d14fe0ce6e6e7d3dfa3fdf91fa (diff) | |
parent | 81f3fda6fa9b0789c8b40582a4b85b2e9501c185 (diff) | |
download | sway-6ec362622841a3efe336daf9e74edca16e4bf984.tar.xz |
Merge pull request #2676 from ianyfan/ipc
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; |