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:
parent
540e5dcda9
commit
a2b0a817d8
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue