summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDon Stewart <dons@cse.unsw.edu.au>2007-05-27 09:44:38 +0200
committerDon Stewart <dons@cse.unsw.edu.au>2007-05-27 09:44:38 +0200
commiteeac9aa8cfba70574ac264ba2b12a61f387c0f29 (patch)
tree9f74893a59b8ae20af13e8607bb769b0dbfcc508
parent4d92960c04c5e86219e758227443bfa8b5383a91 (diff)
downloadmetatile-eeac9aa8cfba70574ac264ba2b12a61f387c0f29.tar
metatile-eeac9aa8cfba70574ac264ba2b12a61f387c0f29.zip
Be a bit more conservative with -O flags, and GC. Hope to avoid runtime GC bug
darcs-hash:20070527074438-9c5c1-af8256d1690de2b48e86f2085106f74954c0738b
-rw-r--r--Operations.hs4
-rw-r--r--xmonad.cabal2
2 files changed, 3 insertions, 3 deletions
diff --git a/Operations.hs b/Operations.hs
index ed062c3..4c8c3e3 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -22,7 +22,7 @@ import Data.List (genericIndex, intersectBy)
import Data.Bits ((.|.))
import qualified Data.Map as M
-import System.Mem (performGC)
+-- import System.Mem (performGC)
import Control.Monad.State
import Control.Monad.Reader
import Control.Arrow
@@ -140,7 +140,7 @@ refresh = do
setTopFocus
clearEnterEvents
- io performGC -- really helps
+-- io performGC -- really helps
-- | clearEnterEvents. Remove all window entry events from the event queue.
clearEnterEvents :: X ()
diff --git a/xmonad.cabal b/xmonad.cabal
index d347a7a..fca3578 100644
--- a/xmonad.cabal
+++ b/xmonad.cabal
@@ -24,6 +24,6 @@ extra-source-files: README TODO tests/loc.hs tests/Properties.hs man/xmonad.1
executable: xmonad
main-is: Main.hs
other-modules: Config Operations StackSet XMonad
-ghc-options: -funbox-strict-fields -O2 -fasm -Wall -optl-Wl,-s
+ghc-options: -funbox-strict-fields -O -fasm -Wall -optl-Wl,-s
ghc-prof-options: -prof -auto-all
extensions: GeneralizedNewtypeDeriving