in the PaintEvent region. makes it a bit easier to modify the look and saves
another ~15% for 100000 repaint resp. 10000 caption changes... :)
svn path=/trunk/kdebase/kwin/; revision=399339
- button icon changes: don't use recolored+scaled .xpm files as icons, instead
create bitmaps on the fly in code which can easily be colored and don't need
to be scaled... looks much cleaner IMHO.
svn path=/trunk/kdebase/kwin/; revision=399001
remove the ShadowEngine... it is just too slow and even makes e.g. kmail feel
slower when dragging messages over the folder list. have a bogus shadow
instead (various drawText calls with blended colors) which also looks quite nice and
is twice as fast. Still no kwin decoration seems to feel as fast as metacity when it
comes to caption changes such as in the kmail example... This is something that should
be looked into IMHO.
svn path=/trunk/kdebase/kwin/; revision=398994
svn path=/trunk/kdebase/kcontrol/; revision=385197
The following changes were in SVN, but were removed from git:
M wallpapers/aurora.svgz.desktop
M wallpapers/gear-flowers.svgz.desktop
M wallpapers/globe.svgz.desktop
M wallpapers/here-gear.svgz.desktop
Do not round (mask) the decoration corners if the window aligns to a screen corner.
This has two advantages:
- Fitt's Law applies for resizing windows
- Prevents accidentally hitting buttons of maximized windows behind the active window
Hasn't been tested with xinerama setups but this should work as well. Hopefully
someone can test it before KDE 3.4.
CCMAIL: toby@tarind.com
BUG: 93918
svn path=/trunk/kdebase/kwin/; revision=380112
svn path=/trunk/kdebase/kcontrol/; revision=376018
The following changes were in SVN, but were removed from git:
M wallpapers/No-Ones-Laughing-3.jpg.desktop
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
Plastik decorations feels faster now.
There already is something which triggers PaintEvents, I don't understand why
this is. However paintEvent() has actually been called 2 (!) times for every
resize event.
It seems that other window decorations have the same problem, I will check that
later.
CCMAIL: kwin@kde.org
svn path=/trunk/kdebase/kwin/; revision=355068
clenup, windowWrapperShowEvent seems to be a relict from pre-kwin3 times...
showEvent() doesn't seem to be used either, perhaps it could be removed as well.
svn path=/trunk/kdebase/kwin/; revision=354761
(The user visible strings inkdebase/kwin/clients are extracted to
kwin_client.pot)
CCMAIL:kde-i18n-doc@kde.org
svn path=/trunk/kdebase/kwin/; revision=347824