Re: [dwm] Feature request for changing master window's height.

From: Engin Tola <engin.tola_AT_epfl.ch>
Date: Sat, 16 Jun 2007 04:50:45 +0200

James Turner <james_AT_bsdgroup.org> writes:

> On Sat, Jun 16, 2007 at 04:06:44AM +0200, Engin Tola wrote:
>>
>> Can you tell at which places it fail ?
>> I just recently *manually* patched it. Maybe I can assist.
>>
>> > Does anybody know if there is an updated patch for bottomstack? It
>> > fails it two places while patching. Thanks.
>> >
> Sure, below is the output of running patch -p1 inside my dwm-4.2 dir.
>
> Hmm... Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |--- /usr/local/src/dwm/dwm-4.1-virgin/layout.c 2007-05-21
> 20:59:45.000000000 -0400
> |+++ layout.c 2007-05-22 16:06:19.000000000 -0400
> --------------------------
> Patching file layout.c using Plan A...
> Hunk #1 failed at 14.
> Hunk #2 failed at 38.
> Hunk #3 succeeded at 81 (offset 12 lines).
> Hunk #4 succeeded at 194 (offset -4 lines).
> Hunk #5 succeeded at 232 (offset 12 lines).
> Hunk #6 failed at 341.
> 3 out of 6 hunks failed--saving rejects to layout.c.rej
> Hmm... The next patch looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |--- /usr/local/src/dwm/dwm-4.1-virgin/config.default.h 2007-05-21
> 20:59:45.000000000 -0400
> |+++ config.default.h 2007-05-21 21:33:42.000000000 -0400
> --------------------------
> Patching file config.default.h using Plan A...
> Hunk #1 succeeded at 29 (offset -2 lines).
> done

this is pretty much illegible with only line numbers. I suggest you to
open the diff file and layout.c. It is pretty much easy to follow the
diff file and make the necessary changes. I also attach my own layout.c
so that you can adapt yours appropriately. (if you haven't edited your
layout file before, then you should have this layout in the end actually.)

Received on Sat Jun 16 2007 - 04:50:50 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:44:23 UTC