XFree and Keymaps

i know that this question has been asked more than once, and i've searched the forum(s) for an answer already, but haven't found any "decent" answer so far.

My question is: "is there a possibility to deactivate the ALT+LMB/RMB hotkey(s) via some xkb configs, or does it only work if i substantially change the code of my WM (waimea - i assume i could apply the similar patch as to fluxbox/blackbox...)?"

it would definately help a lot if this could be deactivated via xfree/xkb-settings.

a note to my system if you should need it for further information

Running Maya 4.5
Distro: Gentoo 1.4
XFree version: 4.3

PC:
AMD-K7-TB 900MHz
GeForce 2 MX

regards,
/Brian

after having fiddled with /usr/share/keymaps and /usr/X11R6/lib/X11/xkb i've at least found out that i can safely assume that it is possible to deactivate the Metakey(s) (Alt most importantly) for X. though, unfortunately i'm not a pro, so i'll just have a look if i can find something, and perhaps get it done nice and clean and of course, post it here then

if anybody is interested:
i've tried using xmodmap and disabling the metakey as follows:

though this completely disables it, so i can't use it in maya either . therefore a simple xmodmap -e "add mod1 = Alt_L"''

brought it back of course

i'd be glad if anybody out there could help out, whenever he/she can drop a line.

thx in advance,
Brian

don't mess with the keymap
its entirely a wm setting.
i believe fluxbox will allow you to change the mapping of the alt button.
if you use KDE its a pretty simple adjustment
same with sawfish (gnome)

heh, i noticed that aswell
after again fiddling around with the source code and compiling i (FINALLY) took a look at the ~/.waimea/actions/action file ... how stupid could i be to not see it at first, heh
a simple change there did the trick:

changing:
DEF defaultAllWindows {
Raise : ButtonPress = Button1 & Alt_L,
StartOpaqueMove : ButtonPress = Button1 & Alt_L,
StartOpaqueResizeRight : ButtonPress = Button3 & Alt_L,
Lower : ButtonPress = Button2 & Alt_L,
EndMoveResize : ButtonRelease = Button1 & MoveResizeMask,
EndMoveResize : ButtonRelease = Button3 & MoveResizeMask
}

to

DEF defaultAllWindows {
! Raise : ButtonPress = Button1 & Alt_L,
! StartOpaqueMove : ButtonPress = Button1 & Alt_L,
! StartOpaqueResizeRight : ButtonPress = Button3 & Alt_L,
! Lower : ButtonPress = Button2 & Alt_L,
EndMoveResize : ButtonRelease = Button1 & MoveResizeMask,
EndMoveResize : ButtonRelease = Button3 & MoveResizeMask
}

was all i needed to do to disable it.

hope that helps anybody with the same problem.

regards,
-Brian