summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorokan <okan>2011-03-22 10:49:46 +0000
committerokan <okan>2011-03-22 10:49:46 +0000
commita12fb346a2d45a046d69c78410c1afc5e7c311d2 (patch)
tree4bdb589285770a07b666399a5349278a5973557b /client.c
parent00b502b1da59c43a82af9afb18f4e5cd0ea6f0c1 (diff)
downloadcwm-a12fb346a2d45a046d69c78410c1afc5e7c311d2.tar.gz
cwm-a12fb346a2d45a046d69c78410c1afc5e7c311d2.tar.xz
cwm-a12fb346a2d45a046d69c78410c1afc5e7c311d2.zip
remove XXX and move a configure event out of the event handler functions.
reminded by a similiar diff from Thomas Pfaff.

ok oga@
Diffstat (limited to 'client.c')
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.c b/client.c
index 8971b35..57a1efe 100644
--- a/client.c
+++ b/client.c
@@ -114,7 +114,7 @@ client_new(Window win, struct screen_ctx *sc, int mapped)
 	XAddToSaveSet(X_Dpy, cc->win);
 
 	/* Notify client of its configuration. */
-	xev_reconfig(cc);
+	xu_configure(cc);
 
 	(state == IconicState) ? client_hide(cc) : client_unhide(cc);
 	xu_setstate(cc, cc->state);
@@ -390,14 +390,14 @@ client_resize(struct client_ctx *cc)
 
 	XMoveResizeWindow(X_Dpy, cc->win, cc->geom.x,
 	    cc->geom.y, cc->geom.width, cc->geom.height);
-	xev_reconfig(cc);
+	xu_configure(cc);
 }
 
 void
 client_move(struct client_ctx *cc)
 {
 	XMoveWindow(X_Dpy, cc->win, cc->geom.x, cc->geom.y);
-	xev_reconfig(cc);
+	xu_configure(cc);
 }
 
 void