[Thread Prev][Thread Next]   >Date Index >Thread Index

Re: [wmx] itsy bitsy bug erata & ideea

Sergiu Partenie - Sun May 16 08:18:03 1999

On Sat, 15 May 1999, Stefan `Sec` Zehl wrote:

> > an #define CONFIG_USE_WMAKER_CHANNEL_KEYS True|False in Config.h
> > and two #if|#else|#endif with a small code change to make WindowMaker
> > users feel at home (changing channels with Alt-1 to Alt-0 instead of
> > Alt-F1 ... Alt-F12)
> I don't think I should put this in, because then everybody want's an
> ifdef for their favorite keybindings.

But how about #defining the keys in Config.h so everybody can change
whatever he wants

like:
#define CONFIG_CHANNEL_01_KEY XK_F1
#define CONFIG_CHANNEL_02_KEY XK_F2
...

or something like...
#define CONFIG_MAX_CHANNELS 12
#define CONFIG_CHANNEL_KEY_ARRAY = (XK_F1, XK_F2 ...)

it will make the code and the binary a little bit larger :( but it will
make everybody happy :)

--
<[p]sergiu|Sergiu[<.|->Paul].Partenie|Partenie.Sergiu[<.|->Paul]>  PSP15
@[www.|ftp.][mcs.|fx.]<pub.ro|[Bucharest.]RoEdu.Net>  _Linux_  PSP3-RIPE




Next: