Bug#272208: xserver-xfree86: Problem using Mod4 modifier in Metacity and Openbox


Sat, 18 Sep 2004 14:00:01 +0200


reassign 272208 metacity
retitle 272208 metacity: tabbing does not work with Mod4+Tab
thanks

On Sat, Sep 18, 2004 at 01:08:59PM +0200, DaVinci wrote:
> Package: xserver-xfree86
> Version: 4.3.0.dfsg.1-7
> Severity: normal
> 
>  Hi.
> 
>  I have problems configuring key combination Mod4+Tab in order to switch
>  windows using Metacity and Openbox window managers.
>  
>  In Openbox it seems Mod4 key it isn't properly recognized when I
>  release it; so, focus changes from one window to another, but I need to
>  pulse other key to continue working.
> 
>  In Metacity, I directly can't configure Mod4+Tab, because when it tells
>  me to press key combination, it is impossible get that working (there
>  is no problem with other combinations like Alt+Tab).
> 
>  I don't know where is the problem, but supose it is an xserver error.

Hi,

this problem is discussed in #255286.  I didn't look at openbox yet,
but metacity has similar code than emacs21, i.e. it cannot work when it
believes that several different keys are bound to the same modifier.
So its reload_modmap function (in src/keybindings.c) should be fixed
to ensure that num_lock_mask, scroll_lock_mask, meta_mask, hyper_mask
and super_mask have no matching bits.

This also applies to #231076, there is no reason to assume that
different keys cannot return the same KeySym.

Denis