Fixed (de)iconify animation for Qt 3 with a workaround.

The semantics of setClipRegion were changed, with the default being
different from the previous behaviour. Duh.

svn path=/trunk/kdebase/kwin/; revision=154610
This commit is contained in:
Rik Hemsley 2002-05-09 12:30:34 +00:00
parent 477c880660
commit 930a266f7e

View file

@ -393,7 +393,7 @@ Manager::slotHelp()
void
Manager::animateIconifyOrDeiconify(bool iconify)
{
// animate(iconify, Static::instance()->animationStyle());
animate(iconify, Static::instance()->animationStyle());
}
void Manager::animate(bool iconify, int style)
@ -548,10 +548,12 @@ void Manager::animate(bool iconify, int style)
p.setRasterOp(Qt::NotROP);
#if 0
if (iconify)
p.setClipRegion(
QRegion(workspace()->desktopWidget()->rect()) - wingeom
);
#endif
XGrabServer(qt_xdisplay());