kwin/plugins
David Edmundson 5d7e22e5dc Fix viewport on vertically stacked monitors
Summary:
We want to translate by the monitor position, so that needs to be
the negative of the position.

But Kwin/KScreen treats 0 as the top of all monitors. GL treats 0 as
bottom, so that all needs inverting.

Hence this should be a positive y value for the viewport.

BUG: 386099
BUG: 385655

Test Plan:
Had two monitors
Side by side was - fine
Stacked vertically - still fine

Modded X code to extend in y instead of x.
3 monitors worked fine.

Nested wayland only seems to support one screen?

Reviewers: #plasma

Subscribers: plasma-devel, kwin, #kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D8479
2017-10-25 23:13:44 +01:00
..
idletime
kdecorations SVN_SILENT made messages (.desktop file) - always resolve ours 2017-08-28 04:30:46 +02:00
kglobalaccel
platforms Fix viewport on vertically stacked monitors 2017-10-25 23:13:44 +01:00
qpa [plugins/qpa] Drop unused variable AbstractPlatformContext::m_integration 2017-07-31 18:09:15 +02:00
scenes SVN_SILENT made messages (.desktop file) - always resolve ours 2017-10-24 06:46:04 +02:00
CMakeLists.txt Move SceneXRender into a plugin 2017-09-01 17:42:28 +02:00