summaryrefslogtreecommitdiffstats
path: root/Config.hs
diff options
context:
space:
mode:
authorDon Stewart <dons@cse.unsw.edu.au>2007-06-10 08:19:32 +0200
committerDon Stewart <dons@cse.unsw.edu.au>2007-06-10 08:19:32 +0200
commit5294b3dc35bfff087cab0b13d9a32fbf62f2a96b (patch)
tree4a2d30607bb16d92a5b0f9586f8003bb06fc39de /Config.hs
parentb292cc4beac3d157f577ca57d81712bc385f2aaf (diff)
downloadmetatile-5294b3dc35bfff087cab0b13d9a32fbf62f2a96b.tar
metatile-5294b3dc35bfff087cab0b13d9a32fbf62f2a96b.zip
Move state logging into Config.hs, via logHook :: X ()
darcs-hash:20070610061932-9c5c1-9a08992ef555f086007474e64d5ae9d835e9677e
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs10
1 files changed, 6 insertions, 4 deletions
diff --git a/Config.hs b/Config.hs
index b420418..f81eac3 100644
--- a/Config.hs
+++ b/Config.hs
@@ -100,11 +100,13 @@ defaultLayouts = [ tiled , mirror tiled , full ]
delta = 3%100
--
--- Enable logging of state changes to stdout.
--- The internal state of the window manager is 'shown' in Haskell data format
+-- Perform an arbitrary action on each state change.
+-- Examples include:
+-- * do nothing
+-- * log the state to stdout
--
-logging :: Bool
-logging = False
+logHook :: X ()
+logHook = return ()
--
-- The key bindings list.