D17900: Introduce a dynamic enabled mode in virtual keyboard

Martin Flöser <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
graesslin created this revision.
graesslin added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
graesslin requested review of this revision.

REVISION SUMMARY
  The deynamic mode has the virtual keyboard enabled for touch events, but
  disabled for all other input events. This is registered through an input
  event spy. The boolean enabled is turned into a three state enum
  disbaled, dynamic and enabled. The status notifier switches to the next
  mode.
  
  The dbus interface is not adjusted and still switches just between
  enabled and disabled. According to lxr the dbus interface is not used
  anywhere so there is the question whether it makes sense to update at
  all.

TEST PLAN
  Nested KWin session, verified that keyboard opens as expected

REPOSITORY
  R108 KWin

BRANCH
  virtual-keyboard-dynamic

REVISION DETAIL
  https://phabricator.kde.org/D17900

AFFECTED FILES
  virtualkeyboard.cpp
  virtualkeyboard.h

To: graesslin, #kwin
Cc: kwin, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.