Commit 65585290 authored by Bhushan Shah's avatar Bhushan Shah 📱

feat(kwayland): enable the auto-rotation and tablet mode

Summary:
Related kwin_wayland patches have been landed for rotation, so enable
the relevant features.

Depends on: D26036

Test Plan: tested on Dell Inspiron 13 7xxx series laptop with mentioned kwin change applied

Reviewers: romangg, davidedmundson

Reviewed By: romangg

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27723
parent e0af3780
......@@ -277,10 +277,8 @@ KScreen::ConfigPtr WaylandConfig::currentConfig()
// TODO: do this setScreen call less clunky
m_kscreenConfig->setScreen(m_screen->toKScreenScreen(m_kscreenConfig));
auto features = Config::Feature::Writable | Config::Feature::PerOutputScaling;
// TODO: enable new features when all patches have landed
// const auto features = Config::Feature::Writable | Config::Feature::PerOutputScaling
// | Config::Feature::AutoRotation | Config::Feature::TabletMode;
const auto features = Config::Feature::Writable | Config::Feature::PerOutputScaling
| Config::Feature::AutoRotation | Config::Feature::TabletMode;
m_kscreenConfig->setSupportedFeatures(features);
m_kscreenConfig->setValid(m_connection->display());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment