mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-09 00:21:52 -07:00
Be a bit more conservative with -O flags, and GC. Hope to avoid runtime GC bug
This commit is contained in:
@@ -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 ()
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user