summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-07-14 07:34:43 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-07-14 07:34:43 +0200
commit7c0f602343e84823d370c8742716ce6b7a8b9850 (patch)
tree1eec8fe4cb291503ccb877745f8fc28a82d63679 /src
parente4314c03faa77d71ad69ec37b83e2634e1a2a9c9 (diff)
downloadphi-7c0f602343e84823d370c8742716ce6b7a8b9850.tar
phi-7c0f602343e84823d370c8742716ce6b7a8b9850.zip
Handle X events asynchronously
Diffstat (limited to 'src')
-rw-r--r--src/Phi.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Phi.hs b/src/Phi.hs
index 43ceebc..9ca7f21 100644
--- a/src/Phi.hs
+++ b/src/Phi.hs
@@ -10,8 +10,9 @@ import Data.Monoid
main :: IO ()
main = do
phi <- initPhi
- initPhiX phi defaultXConfig defaultPanelConfig { panelPosition = Bottom, panelSize = 48 }
+ initPhiX phi defaultXConfig defaultPanelConfig { panelPosition = Bottom }
[border border1 [border border3 [], border border3 []], border border2 []]
+ runPhi phi
where
border1 = BorderConfig (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.25, 0.25, 0.25, 0.5) 7 2
border2 = BorderConfig (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.5, 0.0, 0.25, 0.5) 7 1