emacs-devel
[Top][All Lists]
Advanced

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

Re: feature/pgtk 7085fec: Disable hyper key when super and hyper conflic


From: Yuuki Harano
Subject: Re: feature/pgtk 7085fec: Disable hyper key when super and hyper conflict
Date: Sun, 30 May 2021 12:43:50 +0900 (JST)

On Sat, 29 May 2021 11:36:31 -0400,
        Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> +  /* If xmodmap says:
>> +   *   $ xmodmap | grep mod4
>> +   *   mod4        Super_L (0x85),  Super_R (0x86),  Super_L (0xce),  
>> Hyper_L (0xcf)
>> +   * then, when mod4 is pressed, both of super and hyper are recognized ON.
>> +   * Maybe many people have such configuration, and they don't like such 
>> behavior,
>> +   * so I disable hyper if such configuration is detected.
>> +   */
>> +  if (dpyinfo->hyper_mod_mask == dpyinfo->super_mod_mask)
>> +    dpyinfo->hyper_mod_mask = 0;
> 
> IIUC the same problem can appear under X11.  Do we have similar code in
> the X11 code for that?  If not, should we add it as well?

On XGTK, the same problem doesn't occur even if I have the same
configuration.  I think XGetModifierMapping() have the similar
code.

-- 
Yuuki Harano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]