mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
Move workspace pid code to root.c
This commit is contained in:
parent
04489ff420
commit
30e7e0f7c7
6 changed files with 121 additions and 119 deletions
|
|
@ -490,7 +490,7 @@ static struct sway_container *select_workspace(struct sway_view *view) {
|
|||
wl_resource_get_client(view->surface->resource);
|
||||
wl_client_get_credentials(client, &pid, NULL, NULL);
|
||||
#endif
|
||||
ws = workspace_for_pid(pid);
|
||||
ws = root_workspace_for_pid(pid);
|
||||
if (ws) {
|
||||
return ws;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue