[Differential] [Updated, 5,794 lines] D1631: Implement wl_text_input and zwp_text_input_v2 interfaces
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Fri May 20 08:45:29 UTC 2016
graesslin updated this revision to Diff 3903.
graesslin added a comment.
The SeatInterface now exposes TextInputInterface in similar ways to the other
input devices. That is there is a setFocusedTextInputSurface and the focused
TextInputInterface is exposed through focusedTextInput().
This means that text input is no longer strictly bound to keyboard focus, it
can be set indipendently. Though setFocusedKeyboardSurface updates the
focusedTextInputSurface if the SeatInterface has keyboard support. This is
a requirement in the v2 xml description.
In addition TextInputInterface has a new method isEnabled() -> bool to check
whether it's currently enabled and emits a signal if this changes. This can
be used by the compositor to decide whether it should send text input through
the interface.
REPOSITORY
rKWAYLAND KWayland
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D1631?vs=3899&id=3903
BRANCH
graesslin/text-input
REVISION DETAIL
https://phabricator.kde.org/D1631
AFFECTED FILES
autotests/client/CMakeLists.txt
autotests/client/test_text_input.cpp
autotests/client/test_wayland_registry.cpp
src/client/CMakeLists.txt
src/client/protocols/text-input-unstable-v2.xml
src/client/protocols/text-input.xml
src/client/registry.cpp
src/client/registry.h
src/client/textinput.cpp
src/client/textinput.h
src/client/textinput_p.h
src/client/textinput_v0.cpp
src/client/textinput_v2.cpp
src/server/CMakeLists.txt
src/server/display.cpp
src/server/display.h
src/server/seat_interface.cpp
src/server/seat_interface.h
src/server/seat_interface_p.h
src/server/textinput_interface.cpp
src/server/textinput_interface.h
src/server/textinput_interface_p.h
src/server/textinput_interface_v0.cpp
src/server/textinput_interface_v2.cpp
src/tools/mapping.txt
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, Plasma
Cc: broulik, plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160520/68aad5e8/attachment.html>
More information about the Plasma-devel
mailing list