(mostly) proper xshape event support

ok oga@
This commit is contained in:
okan
2008-06-14 22:04:11 +00:00
parent 160228210b
commit 96d7310b4a
4 changed files with 18 additions and 7 deletions

2
grab.c
View File

@@ -94,6 +94,7 @@ grab_sweep(struct client_ctx *cc)
cc->bwidth, cc->bwidth,
cc->geom.width, cc->geom.height);
client_do_shape(cc);
break;
case ButtonRelease:
XUnmapWindow(X_Dpy, sc->menuwin);
@@ -107,7 +108,6 @@ grab_sweep(struct client_ctx *cc)
cc->ptr.y = cc->geom.height - cc->bwidth;
client_ptrwarp(cc);
client_do_shape(cc);
return;
}
}