diff options
author | okan | 2008-06-14 22:04:11 +0000 |
---|---|---|
committer | okan | 2008-06-14 22:04:11 +0000 |
commit | 436f35e0eec7bc1d4cebee440858aad0e2f5e123 (patch) | |
tree | 960867b0adb3ffcd114275a0fb5ed648b6f2831a /grab.c | |
parent | aead24e5fdb676a1cb63f6fd569fed20baa57cbf (diff) | |
download | cwm-436f35e0eec7bc1d4cebee440858aad0e2f5e123.tar.gz |
(mostly) proper xshape event support
ok oga@
Diffstat (limited to 'grab.c')
-rw-r--r-- | grab.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } } |