Re: [dwm] patch: make togglemax() work in tiled layout

From: lobzang <lobzang_AT_free.fr>
Date: Fri, 25 May 2007 17:49:54 +0200

Yes I'm interested in that patch...
However I was unable to use it :

hg --debug patch -m "togglemax-tiled" /tmp/togglemax-tiled.patch
applying /tmp/togglemax-tiled.patch
Content-Type: text/plain
found patch at byte 0
message:
togglemax-tiled
missing header for context diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** dwm.h~ 2007-05-25 14:58:25.000000000 +0200
|--- dwm.h 2007-05-25 15:01:53.000000000 +0200
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 15 of patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** layout.c~ 2007-05-25 14:58:25.000000000 +0200
|--- layout.c 2007-05-25 14:40:27.000000000 +0200
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 61 of patch
can't find file to patch at input line 61
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** dwm.1~ 2007-05-25 15:30:03.000000000 +0200
|--- dwm.1 2007-05-25 15:30:17.000000000 +0200
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
abort: patch command failed: exited with status 1

seems that there is missing header ...
did you follow this : http://www.suckless.org/wiki/dwm/patches ?

On Fri, 2007-05-25 at 15:33 +0200, Peter Hartlich wrote:

> Hi,
>
> In case anyone has use for it, the attached patch against hg tip
> will make togglemax() work in the tiled layout by first toggling
> the window's floating status and then restoring it later.
>
> Beware though that I am not a C programmer.
>
> Regards,
> Peter

Lobzang
___________________
http://lobzang.free.fr
Received on Fri May 25 2007 - 17:50:25 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:42:56 UTC