input: Fix swapping focus with multiple outputs
This commit is contained in:
parent
a114eb0b35
commit
06c972c989
1 changed files with 6 additions and 2 deletions
|
|
@ -306,11 +306,15 @@ impl State {
|
||||||
0 => 9,
|
0 => 9,
|
||||||
x => x - 1,
|
x => x - 1,
|
||||||
};
|
};
|
||||||
self.common.shell.activate(
|
if let Some(motion_event) = self.common.shell.activate(
|
||||||
seat,
|
seat,
|
||||||
¤t_output,
|
¤t_output,
|
||||||
workspace as usize,
|
workspace as usize,
|
||||||
);
|
) {
|
||||||
|
if let Some(ptr) = seat.get_pointer() {
|
||||||
|
ptr.motion(self, dh, &motion_event);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Action::MoveToWorkspace(key_num) => {
|
Action::MoveToWorkspace(key_num) => {
|
||||||
let current_output = active_output(seat, &self.common);
|
let current_output = active_output(seat, &self.common);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue