Make x11 backend take &mut self in poll_events method
This commit is contained in:
parent
0af3c04900
commit
4b42af910b
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ impl EventsLoop {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn poll_events<F>(&self, mut callback: F)
|
pub fn poll_events<F>(&mut self, mut callback: F)
|
||||||
where F: FnMut(Event)
|
where F: FnMut(Event)
|
||||||
{
|
{
|
||||||
let xlib = &self.display.xlib;
|
let xlib = &self.display.xlib;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue