]> code.delx.au - spectrwm/commitdiff
Limit window name to 64 characters by default.
authorTiago Cunha <tcunha@gmx.com>
Sun, 13 May 2012 22:29:38 +0000 (23:29 +0100)
committerTiago Cunha <tcunha@gmx.com>
Tue, 5 Jun 2012 21:32:01 +0000 (22:32 +0100)
spectrwm.c

index 51f2f9a6ebf60811d5b6b4113a79320a35737500..09c7ede0b67b5bfc1e90cabcc7ea03567845a935 100644 (file)
@@ -1472,7 +1472,7 @@ bar_fmt(char *fmtexp, char *fmtnew, struct swm_region *r, size_t sz)
 
        strlcat(fmtnew, "    ", sz);
        if (window_name_enabled)
-               strlcat(fmtnew, "+W", sz);
+               strlcat(fmtnew, "+64W", sz);
 
        /* finally add the action script output and the version */
        strlcat(fmtnew, "     +A    +V", sz);