From kde-core-devel Wed May 09 20:27:47 2001 From: Lubos Lunak Date: Wed, 09 May 2001 20:27:47 +0000 To: kde-core-devel Subject: Re: Need help with kwin maintainance X-MARC-Message: https://marc.info/?l=kde-core-devel&m=98944018528989 Dne st 9. kv=ECten 2001 21:34 mosfet napsal(a): > Yes, I haven't really worked on this at all either. > > Gallium, you doing anything? ;-) > > Matthias Ettrich wrote: > > Hello guys, > > [snip] Mosfet, you're the author of the default kwin style, aren't you ? Could = you=20 ( or whoever else ) please tweak it's paintEvent() a bit so it doesn't le= ave=20 "holes" when you apply the following patch ? Just apply it and set kdeskt= op=20 background e.g. to orange, you'll see it. On slower machines, without=20 NoBackground the decorations flicker quite noticeably sometimes, and sinc= e=20 this is the default, it would be IMHO worth improving it. Just look at=20 Gallium's styles, they all use NoBackground and they don't flicker. I've=20 already reduced kwin flickering a bit, but I'm not a big friend with=20 QPainter. The same applies for KDE1 and Laptop styles. I also wonder why the sticky button doesn't look like the others ( it's = dark=20 blue here like the titlebar unlike the grey maximize etc. buttons ). Now = that=20 there's a kcontrol module for specifying the button positions, the defaul= t=20 style would look ugly if someone moved the sticky button to the right (=20 assuming that this style would follow the kcontrol settings which it does= n't=20 do yet ). --- kdedefault.cpp.bak Tue Mar 13 02:01:34 2001 +++ kdedefault.cpp Thu Apr 19 10:52:09 2001 @@ -372,6 +372,7 @@ KDEDefaultClientButton::KDEDefaultClient const unsigned char *bitmap) : QToolButton(parent, name) { + setBackgroundMode( NoBackground ); isMouseOver =3D false; client =3D parent; setFixedSize(16, 16); =20 Lubos Lunak -- l.lunak@email.cz ; l.lunak@kde.org http://dforce.sh.cvut.cz/~seli