input: Don't update pointer position on proximity_out
This commit is contained in:
parent
2a3b4dca5f
commit
e563dc85bf
1 changed files with 21 additions and 19 deletions
|
|
@ -1787,6 +1787,7 @@ impl State {
|
|||
tool.frame(self, event.time());
|
||||
}
|
||||
|
||||
if event.state() == ProximityState::In {
|
||||
let mut shell = self.common.shell.write();
|
||||
shell.update_pointer_position(position.to_local(&output), &output);
|
||||
shell.update_focal_point(
|
||||
|
|
@ -1811,6 +1812,7 @@ impl State {
|
|||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
InputEvent::TabletToolTip { event, .. } => {
|
||||
{
|
||||
let mut shell = self.common.shell.write();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue