Commit 762f4648 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

textinputv2: announce the input panel to be hidden as the instance gets disabled

Otherwise we disable it and all events will be disabled (since surface
gets cleared).
This is especially useful since otherwise we lose synchronicity with the
client and weird behaviours happen (like when the client thinks it has a
keyboard but it actually does not).
parent 3762d267
Pipeline #60287 passed with stage
in 5 minutes and 22 seconds
......@@ -293,6 +293,9 @@ void TextInputV2InterfacePrivate::zwp_text_input_v2_disable(Resource *resource,
q->setInputPanelState(false, {0, 0, 0, 0});
enabled = false;
emit q->enabledChanged();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment