D9944: [WIP]expose if the tablet mode switch is available

Marco Martin noreply at phabricator.kde.org
Fri Jan 19 09:49:39 UTC 2018


mart added inline comments.
Restricted Application edited projects, added Plasma; removed KWin.

INLINE COMMENTS

> graesslin wrote in tabletmodemanager.cpp:87
> Impossible! That's violating the layering. KWin core does not depend or interact with libinput for our overall sanity.

I tought as much, but would be possible then to expose the property in an abstract way from the core for this to read?
maybe something along the lines of
input()->capabilities()->hasTouch()
input()->capabilities()->hasTabletModeSwitch()
and so on?

REPOSITORY
  R108 KWin

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

To: mart, #kwin, #plasma
Cc: graesslin, ngraham, davidedmundson, plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180119/5d6e80d8/attachment.html>


More information about the Plasma-devel mailing list