bf4ba54647
Instead of getting size from displayWidth() and displayHeight() use the information we have from Screens. This means there is only one place to have the information and by that we can ensure that all components use the same data to rely on. displayWidth/displayHeight seem to provide the wrong information when unplugging an output without disabling the output. This results in rendering artefacts. But KWin::Screens has the correct information available. |
||
---|---|---|
.. | ||
.directory | ||
backgroundcontrast.kdev4 | ||
CMakeLists.txt | ||
contrast.cpp | ||
contrast.h | ||
contrastshader.cpp | ||
contrastshader.h |