diff options
author | okan | 2011-03-22 10:49:46 +0000 |
---|---|---|
committer | okan | 2011-03-22 10:49:46 +0000 |
commit | 235a8f52c8f74d78040514f71ba5664c913d6622 (patch) | |
tree | 898398be186f2af0a23d9048aee5195def12d5b7 /client.c | |
parent | ebcb441521708792051913bc8ce6b0891b402d77 (diff) | |
download | cwm-235a8f52c8f74d78040514f71ba5664c913d6622.tar.gz |
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.c | 8 |
1 files changed, 4 insertions, 4 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: 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 <sys/param.h> @@ -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 |