wayland: keyboard: track input method done events

This commit is contained in:
Richard Acayan 2024-08-04 21:38:14 -04:00
parent 551381f0b6
commit d3a17813c0
4 changed files with 36 additions and 1 deletions

View file

@ -450,7 +450,9 @@ impl Dispatch<zwp_input_method_v2::ZwpInputMethodV2, ()> for Dispatcher {
zwp_input_method_v2::Event::TextChangeCause { .. } => (),
zwp_input_method_v2::Event::ContentType { .. } => (),
zwp_input_method_v2::Event::SurroundingText { .. } => (),
zwp_input_method_v2::Event::Done => (),
zwp_input_method_v2::Event::Done => {
ctx.seat.keyboard_mut().done();
},
_ => eprintln!("warn: unknown zwp_input_method_v2 event emitted"),
}
}