From 235a8f52c8f74d78040514f71ba5664c913d6622 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 22 Mar 2011 10:49:46 +0000 Subject: remove XXX and move a configure event out of the event handler functions. reminded by a similiar diff from Thomas Pfaff. ok oga@ --- client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 536bcf6..d4b0afd 100644 --- a/client.c +++ b/client.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: client.c,v 1.77 2011/02/13 20:09:57 okan Exp $ + * $Id: client.c,v 1.78 2011/03/22 10:49:46 okan Exp $ */ #include @@ -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 -- cgit v1.2.3-2-gb3c3