mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 06:41:31 +11:00
Remove unnecessary mut
This commit is contained in:
parent
c92ac695af
commit
8288d419fd
|
@ -234,7 +234,7 @@ impl EventsLoop {
|
||||||
|
|
||||||
let mut ev_mods = ModifiersState::default();
|
let mut ev_mods = ModifiersState::default();
|
||||||
|
|
||||||
let mut keysym = unsafe {
|
let keysym = unsafe {
|
||||||
(self.display.xlib.XKeycodeToKeysym)(self.display.display, xkev.keycode as ffi::KeyCode, 0)
|
(self.display.xlib.XKeycodeToKeysym)(self.display.display, xkev.keycode as ffi::KeyCode, 0)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue