shell: Make activate return Some on Global workspace mode
This seems to have been returning `Ok(None)` erroneously. Fixing this corrects output changing keybindings on global workspace mode.
This commit is contained in:
parent
d6539804e9
commit
6f5a14e95c
1 changed files with 4 additions and 1 deletions
|
|
@ -1537,7 +1537,10 @@ impl Shell {
|
||||||
for set in self.workspaces.sets.values_mut() {
|
for set in self.workspaces.sets.values_mut() {
|
||||||
set.activate(idx, workspace_delta, workspace_state)?;
|
set.activate(idx, workspace_delta, workspace_state)?;
|
||||||
}
|
}
|
||||||
Ok(None)
|
let output_geo = output.geometry();
|
||||||
|
Ok(Some(
|
||||||
|
output_geo.loc + Point::from((output_geo.size.w / 2, output_geo.size.h / 2)),
|
||||||
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue