From: Yuuki Harano <masm+emacs@masm11.me>
To: monnier@iro.umontreal.ca
Cc: emacs-devel@gnu.org
Subject: Re: feature/pgtk 7085fec: Disable hyper key when super and hyper conflict
Date: Sun, 30 May 2021 12:43:50 +0900 (JST) [thread overview]
Message-ID: <20210530.124350.2108244856122769256.masm@luna.pink.masm11.me> (raw)
In-Reply-To: <jwvk0nhd03g.fsf-monnier+emacs@gnu.org>
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
prev parent reply other threads:[~2021-05-30 3:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210529145908.27858.39953@vcs0.savannah.gnu.org>
[not found] ` <20210529145909.CF411209BF@vcs0.savannah.gnu.org>
2021-05-29 15:36 ` feature/pgtk 7085fec: Disable hyper key when super and hyper conflict Stefan Monnier
2021-05-30 3:43 ` Yuuki Harano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210530.124350.2108244856122769256.masm@luna.pink.masm11.me \
--to=masm+emacs@masm11.me \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.