diff options
| author | Josh Rahm <rahm@google.com> | 2023-12-08 16:24:06 -0700 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2023-12-08 16:24:06 -0700 |
| commit | b389418fb85948477447db07aee13517dc9148c8 (patch) | |
| tree | 0fec89290d9afb17e6fc811351582fa26f104131 /src/Rahm/Desktop/Submap.hs | |
| parent | 8bbc3ce0d0ae10b5e7630779c970f38f0a767789 (diff) | |
| download | rde-b389418fb85948477447db07aee13517dc9148c8.tar.gz rde-b389418fb85948477447db07aee13517dc9148c8.tar.bz2 rde-b389418fb85948477447db07aee13517dc9148c8.zip | |
Fix issue where submapping keys does not work with numlock on
Diffstat (limited to 'src/Rahm/Desktop/Submap.hs')
| -rw-r--r-- | src/Rahm/Desktop/Submap.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Rahm/Desktop/Submap.hs b/src/Rahm/Desktop/Submap.hs index d316004..b705a24 100644 --- a/src/Rahm/Desktop/Submap.hs +++ b/src/Rahm/Desktop/Submap.hs @@ -130,7 +130,8 @@ mapNextStringWithKeysym fn = do io $ ungrabKeyboard d currentTime - (m, str, keysym) <- MaybeT $ return ret + (m', str, keysym) <- MaybeT $ return ret + m <- lift $ cleanMask m' fn m keysym str {- Like submap, but on the character typed rather than the kysym. -} |