diff options
Diffstat (limited to 'sway/tree/view.c')
-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) { | |||
470 | wl_resource_get_client(view->surface->resource); | 470 | wl_resource_get_client(view->surface->resource); |
471 | wl_client_get_credentials(client, &pid, NULL, NULL); | 471 | wl_client_get_credentials(client, &pid, NULL, NULL); |
472 | #endif | 472 | #endif |
473 | view->pid = pid; | ||
473 | ws = root_workspace_for_pid(pid); | 474 | ws = root_workspace_for_pid(pid); |
474 | if (ws) { | 475 | if (ws) { |
475 | return ws; | 476 | return ws; |