X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=client.c;h=d69134017a829a35156bec99bf46dd9bd26a6fa1;hb=4ca3d861f024d17aeee28744f935fd55dd89a285;hp=220d2a02de12628b18e1a960f941fb139ffd3161;hpb=91e569ca37ac441930f041057d2934f02bf263a2;p=dwm.git diff --git a/client.c b/client.c index 220d2a0..d691340 100644 --- a/client.c +++ b/client.c @@ -135,6 +135,7 @@ void gravitate(Client *c, Bool invert) { int dx = 0, dy = 0; + return; switch(c->grav) { default: break; @@ -290,7 +291,7 @@ resize(Client *c, Bool sizehints, Corner sticky) { else wc.border_width = BORDERPX; XConfigureWindow(dpy, c->win, CWX | CWY | CWWidth | CWHeight | CWBorderWidth, &wc); - configure(c); + /*configure(c);*/ XSync(dpy, False); } @@ -361,12 +362,12 @@ updatetitle(Client *c) { if(!name.nitems) return; if(name.encoding == XA_STRING) - strncpy(c->name, (char *)name.value, sizeof(c->name)); + strncpy(c->name, (char *)name.value, sizeof c->name); else { if(XmbTextPropertyToTextList(dpy, &name, &list, &n) >= Success && n > 0 && *list) { - strncpy(c->name, *list, sizeof(c->name)); + strncpy(c->name, *list, sizeof c->name); XFreeStringList(list); } }