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: Stefan Monnier
Subject: Re: feature/pgtk 7085fec: Disable hyper key when super and hyper conflict
Date: Sat, 29 May 2021 11:36:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> +  /* 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?


        Stefan




reply via email to

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