wayland: update support for text insertion according to input method
This commit is contained in:
parent
c459405318
commit
619b0232b5
2 changed files with 8 additions and 0 deletions
|
|
@ -442,9 +442,11 @@ impl Dispatch<zwp_input_method_v2::ZwpInputMethodV2, ()> for Dispatcher {
|
|||
{
|
||||
match evt {
|
||||
zwp_input_method_v2::Event::Activate => {
|
||||
ctx.seat.set_text_supported(true);
|
||||
ctx.show();
|
||||
},
|
||||
zwp_input_method_v2::Event::Deactivate => {
|
||||
ctx.seat.set_text_supported(false);
|
||||
ctx.hide();
|
||||
},
|
||||
zwp_input_method_v2::Event::TextChangeCause { .. } => (),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue