about summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorokan <okan>2008-06-14 22:04:11 +0000
committerokan <okan>2008-06-14 22:04:11 +0000
commit96d7310b4a224d50aeb2e5e94031d14b9bd6daf5 (patch)
tree5bbf38a0903b2a911e0feb308eda083d7cdd1486 /client.c
parent160228210ba05be788d3537ee64e269882a66aa9 (diff)
downloadcwm-96d7310b4a224d50aeb2e5e94031d14b9bd6daf5.tar.gz
cwm-96d7310b4a224d50aeb2e5e94031d14b9bd6daf5.tar.xz
cwm-96d7310b4a224d50aeb2e5e94031d14b9bd6daf5.zip
(mostly) proper xshape event support
ok oga@
Diffstat (limited to 'client.c')
-rw-r--r--client.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/client.c b/client.c
index 20b5cc1..8a329f0 100644
--- a/client.c
+++ b/client.c
@@ -140,7 +140,6 @@ client_new(Window win, struct screen_ctx *sc, int mapped)
 	    CWOverrideRedirect | CWBackPixel | CWEventMask, &pxattr);
 
 	cc->active = 0;
-	client_draw_border(cc);
 
 	XAddToSaveSet(X_Dpy, cc->win);
 	XSetWindowBorderWidth(X_Dpy, cc->win, 0);
@@ -463,8 +462,6 @@ client_draw_border(struct client_ctx *cc)
 
 		XClearWindow(X_Dpy, cc->pwin);
 	}
-
-	client_do_shape(cc);
 }
 
 u_long