aboutsummaryrefslogtreecommitdiffstats
path: root/DragPane.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-09-27 10:38:14 +0200
committerAndrea Rossato <andrea.rossato@unibz.it>2007-09-27 10:38:14 +0200
commite2c43498aa3115f749ee342898c77fa1b3d6ec6a (patch)
tree16401825f04b63db29ee766d6ca40231eda6c324 /DragPane.hs
parentc6f9ed0ff7c87f12ebc258a99e25bb9a47ace1ce (diff)
downloadXMonadContrib-e2c43498aa3115f749ee342898c77fa1b3d6ec6a.tar.gz
XMonadContrib-e2c43498aa3115f749ee342898c77fa1b3d6ec6a.tar.xz
XMonadContrib-e2c43498aa3115f749ee342898c77fa1b3d6ec6a.zip
DragPane:just code formatting
darcs-hash:20070927083814-32816-08646ab812532f9be622e9ba7431f938361be9b7.gz
Diffstat (limited to 'DragPane.hs')
-rw-r--r--DragPane.hs16
1 files changed, 8 insertions, 8 deletions
diff --git a/DragPane.hs b/DragPane.hs
index b11d663..fcf4d99 100644
--- a/DragPane.hs
+++ b/DragPane.hs
@@ -62,7 +62,7 @@ data DragPane a =
data DragType = Horizontal | Vertical deriving ( Show, Read )
instance Layout DragPane Window where
- doLayout d@(DragPane _ Vertical _ _) = doLay id d
+ doLayout d@(DragPane _ Vertical _ _) = doLay id d
doLayout d@(DragPane _ Horizontal _ _) = doLay mirrorRect d
handleMessage = handleMess
@@ -133,19 +133,19 @@ newDragWin p r = do
updateDragWin :: Window -> Pixel -> Rectangle -> X Window
updateDragWin w p r = do
- d <- asks display
- io $ destroyWindow d w
- dragWin d p r
+ d <- asks display
+ io $ destroyWindow d w
+ dragWin d p r
hideDragWin :: Window -> X ()
hideDragWin w = do
- d <- asks display
- io $ unmapWindow d w
+ d <- asks display
+ io $ unmapWindow d w
destroyDragWin :: Window -> X ()
destroyDragWin w = do
- d <- asks display
- io $ destroyWindow d w
+ d <- asks display
+ io $ destroyWindow d w
dragWin :: Display -> Pixel -> Rectangle -> X Window
dragWin d p (Rectangle x y wt ht) = do