mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-11 02:02:11 -07:00
use default modifyLayout in Circle.
This commit is contained in:
@@ -35,7 +35,6 @@ data Circle a = Circle deriving ( Read, Show )
|
|||||||
instance Layout Circle Window where
|
instance Layout Circle Window where
|
||||||
doLayout Circle r s = do layout <- raiseFocus $ circleLayout r $ integrate s
|
doLayout Circle r s = do layout <- raiseFocus $ circleLayout r $ integrate s
|
||||||
return (layout, Nothing)
|
return (layout, Nothing)
|
||||||
modifyLayout Circle _ = return Nothing
|
|
||||||
|
|
||||||
circleLayout :: Rectangle -> [a] -> [(a, Rectangle)]
|
circleLayout :: Rectangle -> [a] -> [(a, Rectangle)]
|
||||||
circleLayout _ [] = []
|
circleLayout _ [] = []
|
||||||
|
Reference in New Issue
Block a user