romangg created this revision. romangg added reviewers: KWin, Frameworks. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. romangg requested review of this revision.
REVISION SUMMARY Convert content hint and purpose according to used text-input protocol version. This way we can use different specifiers, which enables us in the future to use the default hint of v0 and the pin purpose of v3. Also code is cleaner when using the correctly versioned specifier names according to the protocol version. TEST PLAN Compiles, autotest passes. REPOSITORY R127 KWayland BRANCH textInputEnums REVISION DETAIL https://phabricator.kde.org/D16708 AFFECTED FILES src/server/textinput_interface.cpp src/server/textinput_interface_p.h src/server/textinput_interface_v0.cpp src/server/textinput_interface_v2.cpp To: romangg, #kwin, #frameworks Cc: kde-frameworks-devel, michaelh, ngraham, bruns