<div>graesslin updated this revision to Diff 3903.<br />
graesslin added a comment.</div><br /><div><div><p>The SeatInterface now exposes TextInputInterface in similar ways to the other<br />
input devices. That is there is a setFocusedTextInputSurface and the focused<br />
TextInputInterface is exposed through focusedTextInput().</p>

<p>This means that text input is no longer strictly bound to keyboard focus, it<br />
can be set indipendently. Though setFocusedKeyboardSurface updates the<br />
focusedTextInputSurface if the SeatInterface has keyboard support. This is<br />
a requirement in the v2 xml description.</p>

<p>In addition TextInputInterface has a new method isEnabled() -> bool to check<br />
whether it's currently enabled and emits a signal if this changes. This can<br />
be used by the compositor to decide whether it should send text input through<br />
the interface.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKWAYLAND KWayland</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D1631?vs=3899&id=3903" rel="noreferrer">https://phabricator.kde.org/D1631?vs=3899&id=3903</a></div></div><br /><div><strong>BRANCH</strong><div><div>graesslin/text-input</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1631" rel="noreferrer">https://phabricator.kde.org/D1631</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/client/CMakeLists.txt<br />
autotests/client/test_text_input.cpp<br />
autotests/client/test_wayland_registry.cpp<br />
src/client/CMakeLists.txt<br />
src/client/protocols/text-input-unstable-v2.xml<br />
src/client/protocols/text-input.xml<br />
src/client/registry.cpp<br />
src/client/registry.h<br />
src/client/textinput.cpp<br />
src/client/textinput.h<br />
src/client/textinput_p.h<br />
src/client/textinput_v0.cpp<br />
src/client/textinput_v2.cpp<br />
src/server/CMakeLists.txt<br />
src/server/display.cpp<br />
src/server/display.h<br />
src/server/seat_interface.cpp<br />
src/server/seat_interface.h<br />
src/server/seat_interface_p.h<br />
src/server/textinput_interface.cpp<br />
src/server/textinput_interface.h<br />
src/server/textinput_interface_p.h<br />
src/server/textinput_interface_v0.cpp<br />
src/server/textinput_interface_v2.cpp<br />
src/tools/mapping.txt</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>graesslin, Plasma<br /><strong>Cc: </strong>broulik, plasma-devel, sebas<br /></div>