CM - Fix rendering of shaped override-redirect windows.

SVN revision: 60011
This commit is contained in:
Kim Woelders 2011-06-06 22:14:59 +00:00
parent fe70dc3ace
commit cde260fa56
1 changed files with 7 additions and 1 deletions

View File

@ -1207,7 +1207,10 @@ ECompMgrWinNew(EObj * eo)
eo->shadow = 0;
}
if (eo->type == EOBJ_TYPE_EXT)
XShapeSelectInput(disp, EobjGetXwin(eo), ShapeNotifyMask);
{
XShapeSelectInput(disp, EobjGetXwin(eo), ShapeNotifyMask);
EShapeUpdate(EobjGetWin(eo));
}
if (eo->noredir)
{
@ -1409,6 +1412,9 @@ ECompMgrWinChangeShape(EObj * eo)
ECmWinInfo *cw = eo->cmhook;
D1printf("ECompMgrWinChangeShape %#lx\n", EobjGetXwin(eo));
EShapeUpdate(EobjGetWin(eo));
if (cw->extents == None)
return;