From fcef18aef35e25cd66a6cbd991030c03bbed951b Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 15 Oct 2008 17:39:11 +0200 Subject: let MagnifyLess actually magnify less darcs-hash:20081015153911-c98ca-8e30acd23f81e81eca5e04cda07cbd972a1b00f7.gz --- XMonad/Layout/Magnifier.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'XMonad/Layout') diff --git a/XMonad/Layout/Magnifier.hs b/XMonad/Layout/Magnifier.hs index b27f2c7..bba0697 100644 --- a/XMonad/Layout/Magnifier.hs +++ b/XMonad/Layout/Magnifier.hs @@ -119,8 +119,8 @@ instance LayoutModifier Magnifier Window where redoLayout _ _ _ wrs = return (wrs, Nothing) handleMess (Mag z On t) m - | Just MagnifyMore <- fromMessage m = return . Just $ (Mag (z `addto` 0.1) On t) - | Just MagnifyLess <- fromMessage m = return . Just $ (Mag (z `addto` 0.1) On t) + | Just MagnifyMore <- fromMessage m = return . Just $ (Mag (z `addto` 0.1 ) On t) + | Just MagnifyLess <- fromMessage m = return . Just $ (Mag (z `addto` (-0.1)) On t) | Just ToggleOff <- fromMessage m = return . Just $ (Mag (z ) Off t) | Just Toggle <- fromMessage m = return . Just $ (Mag (z ) Off t) where addto (x,y) i = (x+i,y+i) -- cgit v1.2.3