aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-03-28 11:52:34 -0600
committerJosh Rahm <rahm@google.com>2022-03-28 11:52:34 -0600
commitd15ea771e45b60f32c83bfd90386c60d192299c0 (patch)
treeb9621342d9f16d25ce9ae2fdc1929934e4f8931e /src/Main.hs
parentb8bb40af61fbbf1c13c4556832055304109311db (diff)
downloadrde-d15ea771e45b60f32c83bfd90386c60d192299c0.tar.gz
rde-d15ea771e45b60f32c83bfd90386c60d192299c0.tar.bz2
rde-d15ea771e45b60f32c83bfd90386c60d192299c0.zip
Add (some) ability to send keys to other windows
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs
index b17f62a..0514a99 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -12,12 +12,12 @@ import System.Environment (setEnv)
import Data.Monoid
import Internal.XMobarLog
+import Internal.Windows
import Internal.Keys
import Internal.Layout
import Internal.Logger
import Internal.DMenu (menuCommandString)
import Internal.RebindKeys
-import XMonad.Actions.WithAll (withAll)
import qualified XMonad as X
import qualified XMonad.StackSet as W
@@ -89,7 +89,7 @@ windowHooks (Query readerT) config = do
config {
startupHook = do
- withAll $ \w -> runReaderT readerT w
+ forAllWindows $ \w -> runReaderT readerT w
startupHook config,
manageHook = mappend (Query readerT >> return (Endo id)) (manageHook config)