aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Rahm/Desktop/Submap.hs3
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. -}