diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2022-04-15 23:55:35 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-04-15 23:55:35 -0600 |
| commit | 7a5051f7955a8b4e69b2c28b5a9b34f9730e21f0 (patch) | |
| tree | 27eb1b5f660bfedea78ce0b26f52aede2460fa96 /src/Rahm/Desktop/Submap.hs | |
| parent | 588e87efb099927fda713380e5bf64e8c7f1fdcd (diff) | |
| download | rde-7a5051f7955a8b4e69b2c28b5a9b34f9730e21f0.tar.gz rde-7a5051f7955a8b4e69b2c28b5a9b34f9730e21f0.tar.bz2 rde-7a5051f7955a8b4e69b2c28b5a9b34f9730e21f0.zip | |
Make history much, much more reliable.
This time history is being done using a hook to keep track of history.
This means I don't have to manually call pushHistory every time I focus
a new window.
Diffstat (limited to 'src/Rahm/Desktop/Submap.hs')
| -rw-r--r-- | src/Rahm/Desktop/Submap.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Rahm/Desktop/Submap.hs b/src/Rahm/Desktop/Submap.hs index da9fe77..ad245ab 100644 --- a/src/Rahm/Desktop/Submap.hs +++ b/src/Rahm/Desktop/Submap.hs @@ -61,7 +61,7 @@ mapNextStringWithKeysym fn = do ret <- io $ fix $ \nextkey -> do ret <- - getMaskEventWithTimeout 1000 d keyPressMask $ \p -> do + getMaskEventWithTimeout 2000 d keyPressMask $ \p -> do KeyEvent { ev_keycode = code, ev_state = m } <- getEvent p keysym <- keycodeToKeysym d code 0 (_, str) <- lookupString (asKeyEvent p) |