Re: Preventing Events from being clobbered by WM's



Quoted by a squadron of cyborg ewoks
For `Pete Collins <pete mozdev org>' 
On Tuesday, 29 April 2003 (12:34):


I have a requirement for some gtk2 code i'm working on to block WM key 
bindings like ALT+TAB, CTL+K, etc.


        These are WM (or not; blackbox had an utility to add shortcut support)
specific. The documentation is your friend. If the WM you're using doesn't have
documentation, use the source :)


I also need to block CTL+ALT+BACKSPACE which is an event controlled by 
the X server i believe.


        You can disable this in XFree86's configuration (XF86Config):

<<
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"


        This is for 3.x series, read the docs to know how to do this with the 4.x ones.

-- 
 Leandro Pereira              (oO)           <leandro linuxmag com br>
 www.mindcrisis.tk            /||\                 GPG key: 0x062E7976

         "Se você obedece a todas as regras, acaba perdendo
                toda a diversão." --Katherine Hepburn




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]