Revert "Removed unnecessary window flag manipulation"

This reverts commit b11dd0cb749b58eb1d27cf750f2e28032ee54b6c.

It turns out, that the window flags were not so unnecessary as
initially thought - it caused a regression on kubuntu (kde window
manager)

This commit fixes #6
Merge branch 'kubuntu1310'