kwin/plugins/platforms/x11/windowed
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
..
CMakeLists.txt Move QPainter compositor into plugin 2017-09-01 17:44:49 +02:00
egl_x11_backend.cpp Fix viewport on vertically stacked monitors 2017-10-25 23:13:44 +01:00
egl_x11_backend.h Move the x11 plugin sources into a x11/windowed directory 2016-04-12 08:04:16 +02:00
logging.cpp Move the x11 plugin sources into a x11/windowed directory 2016-04-12 08:04:16 +02:00
logging.h Move the x11 plugin sources into a x11/windowed directory 2016-04-12 08:04:16 +02:00
scene_qpainter_x11_backend.cpp Scale QPainter x11 windowed backend 2017-03-29 20:53:22 +01:00
scene_qpainter_x11_backend.h Move QPainter compositor into plugin 2017-09-01 17:44:49 +02:00
x11.json SVN_SILENT made messages (.desktop file) - always resolve ours 2017-08-30 08:05:15 +02:00
x11windowed_backend.cpp Scale xwindowed EGL output 2017-03-29 20:53:22 +01:00
x11windowed_backend.h Scale input on windowed backend so input co-ordinate system matches host 2017-03-29 20:53:22 +01:00