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:
parent
477c880660
commit
930a266f7e
1 changed files with 3 additions and 1 deletions
|
@ -393,7 +393,7 @@ Manager::slotHelp()
|
||||||
void
|
void
|
||||||
Manager::animateIconifyOrDeiconify(bool iconify)
|
Manager::animateIconifyOrDeiconify(bool iconify)
|
||||||
{
|
{
|
||||||
// animate(iconify, Static::instance()->animationStyle());
|
animate(iconify, Static::instance()->animationStyle());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Manager::animate(bool iconify, int style)
|
void Manager::animate(bool iconify, int style)
|
||||||
|
@ -548,10 +548,12 @@ void Manager::animate(bool iconify, int style)
|
||||||
|
|
||||||
p.setRasterOp(Qt::NotROP);
|
p.setRasterOp(Qt::NotROP);
|
||||||
|
|
||||||
|
#if 0
|
||||||
if (iconify)
|
if (iconify)
|
||||||
p.setClipRegion(
|
p.setClipRegion(
|
||||||
QRegion(workspace()->desktopWidget()->rect()) - wingeom
|
QRegion(workspace()->desktopWidget()->rect()) - wingeom
|
||||||
);
|
);
|
||||||
|
#endif
|
||||||
|
|
||||||
XGrabServer(qt_xdisplay());
|
XGrabServer(qt_xdisplay());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue