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:
Ian Douglas Scott 2024-09-18 13:20:17 -07:00 committed by Victoria Brekenfeld
parent 6d017225e4
commit d7ca0324c5
4 changed files with 31 additions and 46 deletions

View file

@ -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);

View file

@ -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;
}

View file

@ -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);