From 436f35e0eec7bc1d4cebee440858aad0e2f5e123 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 14 Jun 2008 22:04:11 +0000 Subject: (mostly) proper xshape event support ok oga@ --- grab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grab.c') diff --git a/grab.c b/grab.c index 153b70e..46f9133 100644 --- a/grab.c +++ b/grab.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: grab.c,v 1.17 2008/06/12 18:55:35 okan Exp $ + * $Id: grab.c,v 1.18 2008/06/14 22:04:11 okan Exp $ */ #include "headers.h" @@ -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; } } -- cgit v1.2.3-2-gb3c3