mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 20:21:51 -07:00
@@ -97,8 +97,8 @@ split3HorizontallyBy :: Bool -> Rational -> Rectangle -> (Rectangle, Rectangle,
|
||||
split3HorizontallyBy middle f (Rectangle sx sy sw sh) =
|
||||
if middle
|
||||
then ( Rectangle (sx + fromIntegral r3w) sy r1w sh
|
||||
, Rectangle (sx + fromIntegral r3w + fromIntegral r1w) sy r2w sh
|
||||
, Rectangle sx sy r3w sh )
|
||||
, Rectangle sx sy r3w sh
|
||||
, Rectangle (sx + fromIntegral r3w + fromIntegral r1w) sy r2w sh )
|
||||
else ( Rectangle sx sy r1w sh
|
||||
, Rectangle (sx + fromIntegral r1w) sy r2w sh
|
||||
, Rectangle (sx + fromIntegral r1w + fromIntegral r2w) sy r3w sh )
|
||||
|
Reference in New Issue
Block a user