Remove server grab around EShapeSetShape().

If the server grab is removed from here, it would seem appropriate
to add it in EShapeSetShape() (or EShapeCombineShape()).
However, I'm not sure we need atomicity at this point.
If we read an "incorrrect" shape, we should have an unprocessed shape
change notification pending.
Let's just see if this causes trouble.

SVN revision: 70399
This commit is contained in:
Kim Woelders 2012-04-22 17:39:58 +00:00
parent 540e5dcda9
commit a2b0a817d8
1 changed files with 0 additions and 2 deletions

View File

@ -653,10 +653,8 @@ EwinKeepOnScreen(const EWin * ewin, int wn, int hn, int *px, int *py)
void
EwinUpdateShapeInfo(EWin * ewin)
{
EGrabServer();
ewin->state.shaped =
EShapeSetShape(ewin->win_container, 0, 0, EwinGetClientWin(ewin));
EUngrabServer();
if (EDebug(EX_EVENT_SHAPE_NOTIFY))
Eprintf("EwinUpdateShapeInfo %#lx cont=%#lx shaped=%d\n",