Remove needs_key_repetition argument
Not supressing key repetition in backends seems like it was a bug, and should be fixed as of https://github.com/Smithay/smithay/pull/1535. So an argument for this should be unnecessary now.
This commit is contained in:
parent
6d017225e4
commit
d7ca0324c5
4 changed files with 31 additions and 46 deletions
|
|
@ -165,7 +165,7 @@ fn init_libinput(
|
|||
state.backend.kms().input_devices.remove(device.name());
|
||||
}
|
||||
|
||||
state.process_input_event(event, true);
|
||||
state.process_input_event(event);
|
||||
|
||||
for output in state.common.shell.read().unwrap().outputs() {
|
||||
state.backend.kms().schedule_render(output);
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@ impl State {
|
|||
render_ping.ping();
|
||||
}
|
||||
WinitEvent::Redraw => render_ping.ping(),
|
||||
WinitEvent::Input(event) => self.process_input_event(event, false),
|
||||
WinitEvent::Input(event) => self.process_input_event(event),
|
||||
WinitEvent::CloseRequested => {
|
||||
self.common.should_stop = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -515,7 +515,7 @@ impl State {
|
|||
_ => {}
|
||||
};
|
||||
|
||||
self.process_input_event(event, false);
|
||||
self.process_input_event(event);
|
||||
// TODO actually figure out the output
|
||||
for output in self.common.shell.read().unwrap().outputs() {
|
||||
self.backend.x11().schedule_render(output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue