shell: Fix global+static mode

This commit is contained in:
Victoria Brekenfeld 2022-11-23 16:00:33 +01:00
parent 4a9afd0572
commit f4476b10f2
2 changed files with 15 additions and 5 deletions

View file

@ -693,7 +693,6 @@ impl State {
.cloned()
{
let idx = self.common.shell.workspaces.active_num(&prev_output);
seat.set_active_output(&prev_output);
if let Some(new_pos) = self.common.shell.activate(&prev_output, idx) {
seat.set_active_output(&prev_output);
if let Some(ptr) = seat.get_pointer() {