D23591: [platforms/drm] Disable orientation sensor for now

Vlad Zagorodniy noreply at phabricator.kde.org
Sat Aug 31 01:06:49 BST 2019


zzag added a comment.


  Is it caused by us or Qt?

INLINE COMMENTS

> drm_output.cpp:1017-1023
> +//    if (!m_primaryPlane) {
> +//        return false;
> +//    }
> +//    const auto transformations = m_primaryPlane->supportedTransformations();
> +//    return transformations.testFlag(DrmPlane::Transformation::Rotate90)
> +//        || transformations.testFlag(DrmPlane::Transformation::Rotate180)
> +//        || transformations.testFlag(DrmPlane::Transformation::Rotate270);

In general if you want to temporarily disable something, you have to use `#if 0 #endif` so git history is not altered.

REPOSITORY
  R108 KWin

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

To: romangg, #kwin
Cc: zzag, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190831/0178ddd3/attachment.html>


More information about the kwin mailing list