D8699: Support automatic screen rotation based on orientation sensor
Martin Flöser
noreply at phabricator.kde.org
Wed Nov 8 05:25:57 UTC 2017
graesslin added a comment.
In https://phabricator.kde.org/D8699#165474, @davidedmundson wrote:
> > if auto rotation is enabled you cannot manually rotate the screen and vice versa.
>
> Yeah, that's great...but kscreen needs to have that information.
>
> It's going to be especially difficult if you do want to support X.
> kscreen there is following any external xrandr changes and we need to think about the whole set of potential races between kwin, X and kscreen.
Hmm, I was only thinking of Wayland where we have the Wayland protocol. So maybe sebas suggestion of dbus service. It's still possible to race of course but that's something we should be able to handle. Activating the sensor takes it time so dbus should be faster. Then kscreen can ignore all rotations.
BRANCH
automatic-rotation
REVISION DETAIL
https://phabricator.kde.org/D8699
To: graesslin, #kwin, #plasma, sebas
Cc: davidedmundson, plasma-devel, 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/20171108/c58fdf09/attachment.html>
More information about the Plasma-devel
mailing list