Skip to content

Map hyper to super in EI mod map - #8882

Merged
sithlord48 merged 1 commit into
masterfrom
hyper-mod
Aug 26, 2025
Merged

Map hyper to super in EI mod map#8882
sithlord48 merged 1 commit into
masterfrom
hyper-mod

Conversation

@nbolton

@nbolton nbolton commented Aug 22, 2025

Copy link
Copy Markdown
Member

Fixes: #8878

In the X11 code, we mapped hyper to super, so perhaps it makes sense to do that here too:

src/lib/platform/XWindowsUtil.cpp

  case XK_Super_L:
  case XK_Super_R:
  case XK_Hyper_L:
  case XK_Hyper_R:
    return kKeyModifierBitSuper;

CC @wismill @whot

@sithlord48

sithlord48 commented Aug 22, 2025

Copy link
Copy Markdown
Member

Just a general note:
We need to make a xkbcommon class that is common to both EIKey and X11Key so we only have to do this in one place it should be the same code for both.

@nbolton
nbolton marked this pull request as ready for review August 26, 2025 10:31
@sithlord48
sithlord48 self-requested a review August 26, 2025 13:28
In the X11 code, we mapped hyper to super, so perhaps it makes sense to do that here too:

`src/lib/platform/XWindowsUtil.cpp`
```
  case XK_Super_L:
  case XK_Super_R:
  case XK_Hyper_L:
  case XK_Hyper_R:
    return kKeyModifierBitSuper;
```
@sithlord48
sithlord48 enabled auto-merge (rebase) August 26, 2025 13:34
@sithlord48
sithlord48 merged commit 07edccb into master Aug 26, 2025
31 checks passed
@sithlord48
sithlord48 deleted the hyper-mod branch August 26, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wayland: "modifier mask Hyper not accounted for, this is a bug"

2 participants