[dwm] Re: pertag patch

From: henry atting <nspm_01_AT_literaturlatenight.de>
Date: Sat, 03 Jan 2009 19:46:46 +0100

On Sa, Jan 03 2009, daniel fusser wrote:

> 2009/1/3 henry atting <nspm_01_AT_literaturlatenight.de>
>
>> On Fr, Jan 02 2009, v4hn wrote:
>>
>> dwm.c:1743: error: redefinition of 'viewnext'
>> dwm.c:1709: error: previous definition of 'viewnext' was here
>> dwm.c:1760: error: redefinition of 'viewprevious'
>> dwm.c:1726: error: previous definition of 'viewprevious' was here
>> make: *** [dwm.o] Fehler 1
>>
>> As far as I see I have to decide for either the pertag or the arrownav
>> patch, so I decided for the latter.
>>
>> Thanks
>> henry
>>
>>
>>
> Hi,
>
> I had the same problem some time ago but i managed to make them both work.
>
> I removed the pertag variables in dwm.c and put them into my config.h where
> I also put the viewnext() and viewprevious() functions. These two functions
> have to be modified as well to make them work with the pertag patch
> otherwise the values won't get stored when the function is called (which
> means if you use the arrowkeys to change tags the pertag patch stuff has no
> effect).
>
> I can't remember what exactly caused the redefiniton errors but it works for
> me this way...

Unfortunately it does not work for me, dwm crashes when switching to
another tag. But anyway it's a good start, thanks, I will further look
into it when I have a little more time.

henry
Received on Sat Jan 03 2009 - 18:46:46 UTC

This archive was generated by hypermail 2.2.0 : Sat Jan 03 2009 - 18:48:04 UTC