Hacking on KWin itself

Creating Window Decorations

tutorial(Based on KDE3.2 and as such slightly outdated, but still usable for newer versions. Note that new decorations should subclass KCommonDecoration, instead of using the KDecoration class directly like this tutorial does.)