aboutsummaryrefslogtreecommitdiffstats
path: root/grab.c
diff options
context:
space:
mode:
authorokan2008-06-14 22:04:11 +0000
committerokan2008-06-14 22:04:11 +0000
commit436f35e0eec7bc1d4cebee440858aad0e2f5e123 (patch)
tree960867b0adb3ffcd114275a0fb5ed648b6f2831a /grab.c
parentaead24e5fdb676a1cb63f6fd569fed20baa57cbf (diff)
downloadcwm-436f35e0eec7bc1d4cebee440858aad0e2f5e123.tar.gz
(mostly) proper xshape event support
ok oga@
Diffstat (limited to '')
-rw-r--r--grab.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}