aboutsummaryrefslogtreecommitdiffstats
path: root/TwoPane.hs
diff options
context:
space:
mode:
authorDavid Roundy <droundy@darcs.net>2007-09-25 20:29:30 +0200
committerDavid Roundy <droundy@darcs.net>2007-09-25 20:29:30 +0200
commit5d42da6f605385a5692eaf34678e6d4524edad56 (patch)
tree13e15aec0414303d7f0a25aa2d074811a2947059 /TwoPane.hs
parent76b62aa4f8b75b704e4e34fe4c7fe536a2e6d1ea (diff)
downloadXMonadContrib-5d42da6f605385a5692eaf34678e6d4524edad56.tar.gz
XMonadContrib-5d42da6f605385a5692eaf34678e6d4524edad56.tar.xz
XMonadContrib-5d42da6f605385a5692eaf34678e6d4524edad56.zip
modifyLayout -> handleMessage.
darcs-hash:20070925182930-72aca-7941d37cac143444e9f167e3dd15944d1138a377.gz
Diffstat (limited to '')
-rw-r--r--TwoPane.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/TwoPane.hs b/TwoPane.hs
index 0a3f0d5..90c4f13 100644
--- a/TwoPane.hs
+++ b/TwoPane.hs
@@ -51,7 +51,7 @@ instance Layout TwoPane a where
[] -> [(focus st, rect)]
where (left, right) = splitHorizontallyBy split rect
- modifyLayout (TwoPane delta split) x =
+ handleMessage (TwoPane delta split) x =
return $ case fromMessage x of
Just Shrink -> Just (TwoPane delta (split - delta))
Just Expand -> Just (TwoPane delta (split + delta))