JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
made gravitate effectless, waiting for complains ;)
[dwm.git] / client.c
index 220d2a0..5926bb3 100644 (file)
--- 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;
@@ -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);
                }
        }