Lea-fish / Leafish

A minecraft-like multi version client implemented in Rust.
Apache License 2.0
815 stars 46 forks source link

Reset mouse position to middle when entering gui's #95

Open schitcrafter opened 3 years ago

schitcrafter commented 3 years ago

When entering a gui, the mouse isn't reset, and appears based on the previous (in-game) movements. This is probably just one line of code, but I don't know where so I'm opening this.

terrarier2111 commented 3 years ago

Fixed by https://github.com/Lea-fish/Leafish/commit/ca6e8e2157ae6e04a96e7bb25191a081d4125944 but sadly not for wayland :(