summaryrefslogtreecommitdiffstats
path: root/lib/Phi/Phi.hs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-07-19 11:16:50 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-07-19 11:16:50 +0200
commit19c4bb35212b422ce0c3d8808357e0edf8728218 (patch)
tree4c6d596f730f176f802402cd9787ad661ec1f36f /lib/Phi/Phi.hs
parent581e1f9c63101fd2a00711748415997b0c20b793 (diff)
downloadphi-19c4bb35212b422ce0c3d8808357e0edf8728218.tar
phi-19c4bb35212b422ce0c3d8808357e0edf8728218.zip
Basic systray implementation
Diffstat (limited to 'lib/Phi/Phi.hs')
-rw-r--r--lib/Phi/Phi.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Phi/Phi.hs b/lib/Phi/Phi.hs
index ab384a0..f7cf4c7 100644
--- a/lib/Phi/Phi.hs
+++ b/lib/Phi/Phi.hs
@@ -22,7 +22,7 @@ data Phi = Phi (TChan Message)
data Message = forall a. (Typeable a, Show a) => Message a
deriving instance Show Message
-data DefaultMessage = Repaint deriving (Typeable, Show)
+data DefaultMessage = Repaint | ResetBackground deriving (Typeable, Show)
fromMessage :: (Typeable a, Show a) => Message -> Maybe a
fromMessage (Message m) = cast m