[Differential] [Request, 111 lines] D1444: Switch virtual terminal through logind instead of having a VirtualTerminal implementation

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Tue Apr 19 08:18:54 UTC 2016


graesslin created this revision.
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  Get the Logind seat for our logind session
  In order to switch virtual terminals through logind we need to know
  the Seat object for our session.
  
  Switch virtual teminal through logind seat
  
  When we get the key code for virtual terminal switching we pass it
  to Logind instead of going through the "legacy" ioctl interface.
  
  Integrate libinput only through Logind instead of relying on VirtualTerminal
  
  All the important information like whether we are on the active vt are
  also provided by Logind. So instead of integrating with VirtualTerminal,
  which integrates with Logind, we can just integrate with Logind directly.
  
  [plugins/drm] Drop dependency on VirtualTerminal
  
  Only integrates with Logind to find out when the session is active.
  
  Fixup with input
  
  [platforms/hwcomposer] Remove integration with VirtualTerminal
  
  The hwcomposer plugin doesn't need it. It was only created for the
  need of libinput relying on it. As libinput doesn't need it any more,
  hwcomposer doesn't need to integrate with VirtualTerminal.

REPOSITORY
  rKWIN KWin

BRANCH
  vt-integration-through-logind

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

AFFECTED FILES
  input.cpp
  logind.cpp
  logind.h
  plugins/platforms/drm/drm_backend.cpp
  plugins/platforms/drm/drm_output.cpp
  plugins/platforms/drm/scene_qpainter_drm_backend.cpp
  plugins/platforms/hwcomposer/hwcomposer_backend.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, Plasma
Cc: plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160419/5b6c137a/attachment-0001.html>


More information about the Plasma-devel mailing list