aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs
index bb39e14..25403d4 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -15,7 +15,6 @@ import Text.Printf
import Rahm.Desktop.Swallow
import Rahm.Desktop.Common
-import Rahm.Desktop.Windows
import Rahm.Desktop.XMobarLog
import Rahm.Desktop.Keys
import Rahm.Desktop.Layout
@@ -98,7 +97,7 @@ windowHooks (Query readerT) config = do
config {
startupHook = do
- forAllWindows $ \w -> runReaderT readerT w
+ withWindowSet $ mapM_ (runReaderT readerT) . W.allWindows
startupHook config,
manageHook = mappend (Query readerT >> return (Endo id)) (manageHook config)