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=392535
The following changes were in SVN, but were removed from git:
M wallpapers/All-Good-People-1.jpg.desktop
M wallpapers/Blkmarble.jpg.desktop
M wallpapers/Chicken-Songs-2.jpg.desktop
M wallpapers/Circuit.jpg.desktop
M wallpapers/Foggy1.jpg.desktop
M wallpapers/Island-of-Elba.jpg.desktop
M wallpapers/KDE34.png.desktop
M wallpapers/Marble01.jpg.desktop
M wallpapers/No-Ones-Laughing-3.jpg.desktop
M wallpapers/Paper01.jpg.desktop
M wallpapers/Planning-And-Probing-1.jpg.desktop
M wallpapers/Time-For-Lunch-2.jpg.desktop
M wallpapers/Totally-New-Product-1.jpg.desktop
M wallpapers/Won-Ton-Soup-3.jpg.desktop
M wallpapers/andes-venezolanos.svgz.desktop
M wallpapers/aurora.svgz.desktop
M wallpapers/blue-bend.jpg.desktop
M wallpapers/celtic.svgz.desktop
M wallpapers/default_blue.jpg.desktop
M wallpapers/default_gears.jpg.desktop
M wallpapers/fulmine.jpg.desktop
M wallpapers/gear-flowers.svgz.desktop
M wallpapers/globe.svgz.desktop
M wallpapers/here-gear.svgz.desktop
M wallpapers/kde_box.png.desktop
M wallpapers/kde_passion.jpg.desktop
M wallpapers/konqui.svgz.desktop
M wallpapers/lineart.svgz.desktop
M wallpapers/moon.svgz.desktop
M wallpapers/only_k.jpg.desktop
M wallpapers/seaofconero.jpg.desktop
M wallpapers/triplegears.jpg.desktop
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
- Respect custom button positions
- Correct button Abilities
The only thing I changed was to replace the qlayout.h include with a
simple class declaration... otherwise looks good to me.
CCMAIL: knut@johansson.com
svn path=/trunk/kdebase/kwin/; revision=383321
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