mirror of
https://gitlab.com/hyask/swaysome.git
synced 2025-12-10 07:44:43 +01:00
Fix focus to group when already existing group
This commit is contained in:
parent
4ec989ed72
commit
4620e8ab2c
1 changed files with 2 additions and 1 deletions
|
|
@ -430,7 +430,8 @@ fn focus_to_group(stream: &UnixStream, group_index: usize) {
|
||||||
.enumerate()
|
.enumerate()
|
||||||
.find(|i| i.1.name == other_workspace.output)
|
.find(|i| i.1.name == other_workspace.output)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.0,
|
.0
|
||||||
|
+ 1,
|
||||||
),
|
),
|
||||||
None => {
|
None => {
|
||||||
// Or if the targeted output is currently connected
|
// Or if the targeted output is currently connected
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue