Steps to reproduce:
1. change screen size (e.g. attach screen)
2. use present windows
3. notice how broken everything looks
4. trigger alt+shift+f12 twice
5. open present windows
6. notice how all looks correct
Git commit 3f52527726f44acc6a8f9585e00116ca3ae5d02d by Martin Gräßlin.
Committed on 06/07/2012 at 19:03.
Pushed by graesslin into branch 'KDE/4.9'.
Recreate lanczos filter whenever the screen size changes
The LanczosFilter has a FBO in screen size. When the screen
geometry changes this FBO has to be recreated. To go completely
sure the lanczos filter gets deleted on screen changes.
To achieve this the LanczosFilter is wrapped inside a
QWeakPointer so that we can track when it got deleted. This
brings an additional advantage by delaying the creation of the
shader till it is really needed, that is when for the first
time a window thumbnail with lanczos is rendered.
M +10 -5 kwin/scene.cpp
M +1 -1 kwin/scene.h