mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
view: remove workspace pid mapping for assigns
If a view is mapped to a workspace using an assign, the pid should still be removed from the pid mapping list. This prevents child processes from matching against it and mapping a view to a likely undesired workspace.
This commit is contained in:
parent
1e2a2b0778
commit
c99d423ad9
3 changed files with 26 additions and 8 deletions
|
|
@ -72,6 +72,8 @@ struct sway_workspace *root_workspace_for_pid(pid_t pid);
|
|||
|
||||
void root_record_workspace_pid(pid_t pid);
|
||||
|
||||
void root_remove_workspace_pid(pid_t pid);
|
||||
|
||||
void root_for_each_workspace(void (*f)(struct sway_workspace *ws, void *data),
|
||||
void *data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue