Re: [PATCH 1/2] Custom layouts: accept short checksums

2013-03-10 Thread Nicholas Marriott
I think this is what I intended: diff --git a/layout-custom.c b/layout-custom.c index c076232..ab89a3f 100644 --- a/layout-custom.c +++ b/layout-custom.c @@ -63,7 +63,7 @@ layout_dump(struct window *w) if (layout_append(w->layout_root, layout, sizeof layout) != 0) return (N

Re: [PATCH 2/2] Custom layouts: correctly parse old-style splits

2013-03-10 Thread Nicholas Marriott
Applied with some tweaks, also applied my change to pad checksums with 0s in previous mail. Thanks On Sat, Mar 09, 2013 at 06:29:34PM -0600, Chris Johnsen wrote: > When pane ids were added to the custom layout strings, the parsing > was adjusted to be backwards compatible. However, a bug prevent