mirror of
https://github.com/swaywm/sway.git
synced 2026-04-16 08:21:30 -04:00
Merge 9cfcff0039 into 909a2ddb5f
This commit is contained in:
commit
82cbeaae70
1 changed files with 3 additions and 1 deletions
|
|
@ -1201,8 +1201,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");
|
||||
}
|
||||
|
||||
if (last_workspace && last_workspace != new_workspace) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue