Mercurial > tablet-emu
diff src/server.rs @ 15:d103f7cca0bd
Update to GTKĀ 4.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 26 Aug 2021 19:34:40 +0200 |
parents | adab13145994 |
children | 478cf2a7d577 |
line wrap: on
line diff
--- a/src/server.rs +++ b/src/server.rs @@ -92,7 +92,7 @@ pub fn run_server(address: &str) -> io:: let mut event: Event = Default::default(); let mut last = Some((0., 0.)); - state.set_size((320, 240)); + state.set_size(320, 240); loop { // TODO: Yolo-alignment. let buf: &mut [u8; 16] = unsafe { std::mem::transmute(&mut event) };