Fix focus to group when already existing group

This commit is contained in:
Nabos 2022-08-25 15:25:32 +02:00
parent 4ec989ed72
commit 4620e8ab2c

View file

@ -430,7 +430,8 @@ fn focus_to_group(stream: &UnixStream, group_index: usize) {
.enumerate()
.find(|i| i.1.name == other_workspace.output)
.unwrap()
.0,
.0
+ 1,
),
None => {
// Or if the targeted output is currently connected