kwin/clients/plastik
Luboš Luňák 9a5a1c5d95 Fix shading: isShade() returns the actual state of the window, and isSetShade()
returns the state set by the user - these two may differ e.g. while hover-unshaded.
Therefore titlebar buttons should use isSetShade(), otherwise they become
a bit useless with hover-unshading.
Also fix updating the button state - the styles duplicate way too much code,
and if one of them has a bug, most of them definitely have it as well. Some
of the code should probably move to the decoration lib :-/ .

svn path=/trunk/kdebase/kwin/; revision=366147
2004-11-25 16:08:46 +00:00
..
config
xpm
Makefile.am
misc.cpp
misc.h
plastik.cpp
plastik.desktop
plastik.h
plastikbutton.cpp
plastikbutton.h
plastikclient.cpp
plastikclient.h
shadow.cpp
shadow.h