mirror of
https://github.com/swaywm/sway.git
synced 2025-10-08 21:25:58 +00:00
Merge 9cfcff0039
into a7d9535eb3
This commit is contained in:
commit
06b97222d3
1 changed files with 3 additions and 1 deletions
|
@ -1200,8 +1200,10 @@ static void seat_set_workspace_focus(struct sway_seat *seat, struct sway_node *n
|
|||
|
||||
// emit ipc events
|
||||
set_workspace(seat, new_workspace);
|
||||
if (container && container->view) {
|
||||
if (container) {
|
||||
ipc_event_window(container, "focus");
|
||||
} else if(last_workspace == new_workspace) {
|
||||
ipc_event_workspace(NULL, new_workspace, "focus");
|
||||
}
|
||||
|
||||
// Move sticky containers to new workspace
|
||||
|
|
Loading…
Add table
Reference in a new issue