parent
1088e62a6f
commit
6b1788d002
|
@ -61,6 +61,7 @@
|
||||||
|
|
||||||
- `Multicache::has()` now correctly does what is expected of it
|
- `Multicache::has()` now correctly does what is expected of it
|
||||||
- `xdg_shell` had an issue where it was possible that configured state gets overwritten before it was acked/committed.
|
- `xdg_shell` had an issue where it was possible that configured state gets overwritten before it was acked/committed.
|
||||||
|
- `wl_keyboard` rewind the `keymap` file before passing it to the client
|
||||||
|
|
||||||
#### Backends
|
#### Backends
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ use std::{
|
||||||
cell::RefCell,
|
cell::RefCell,
|
||||||
default::Default,
|
default::Default,
|
||||||
fmt,
|
fmt,
|
||||||
io::{Error as IoError, Write},
|
io::{Error as IoError, Seek, Write},
|
||||||
ops::Deref as _,
|
ops::Deref as _,
|
||||||
os::unix::io::AsRawFd,
|
os::unix::io::AsRawFd,
|
||||||
rc::Rc,
|
rc::Rc,
|
||||||
|
@ -481,6 +481,7 @@ impl KeyboardHandle {
|
||||||
let ret = tempfile().and_then(|mut f| {
|
let ret = tempfile().and_then(|mut f| {
|
||||||
f.write_all(self.arc.keymap.as_bytes())?;
|
f.write_all(self.arc.keymap.as_bytes())?;
|
||||||
f.flush()?;
|
f.flush()?;
|
||||||
|
f.rewind()?;
|
||||||
kbd.keymap(
|
kbd.keymap(
|
||||||
KeymapFormat::XkbV1,
|
KeymapFormat::XkbV1,
|
||||||
f.as_raw_fd(),
|
f.as_raw_fd(),
|
||||||
|
|
Loading…
Reference in New Issue