With KDE 4.11, a new annoying feature was added: The window manager now moves a window beyond the screen edge. The original idea was to make the scroll bar easily accessible.
My reason is that I use clicking on the window border to move a window to the front. By careful arrangement of the windows on my second monitor, I can easily switch between 5 windows by moving them against the screen edge: That way, I can use the mile high menu bar trick to position the mouse and one click to bring the window to the front (and no, I can’t use the usual click to front behavior; I know much better than the computer when I want to change the stacking order and when not).
With the window border hidden beyond the screen edge, this wasn’t possible anymore.
Here is a script that solved the issue for me: Snap to Deco 1.1
Once downloaded, the script needs to be installed via
> plasmapkg -t kwinscript -i filename.kwinscript
which unpacks and copies files to ~/.kde4/share/apps/kwin/scripts/ but doesn’t activate them. In order to activate, use the scripts KCM (KConfig Module) graphical interface:
> kcmshell4 kwinscripts
and tick the required script.