kwin/effects/colorpicker
David Edmundson 24c9194f4c Scaling support in ColorPicker effect
Summary:
glReadPixels needs the correct location relative to the
framebuffer so we need to factor in the scale as well as translation
when going from compositor space.

Test Plan:
Ran the plasma colour picker plasmoid in windowed mode
Clicked on multiple parts of a window
It was right every time

Reviewers: #plasma

Subscribers: plasma-devel, kwin, #kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D4950
2017-04-28 10:23:13 +01:00
..
colorpicker.cpp Scaling support in ColorPicker effect 2017-04-28 10:23:13 +01:00
colorpicker.h Add support for on-screen-message to kwineffects 2016-12-24 09:56:48 +01:00