mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-16 12:33:47 -07:00
Fix haddock
This commit is contained in:
@@ -429,8 +429,8 @@ pointScreen :: Position -> Position
|
|||||||
pointScreen x y = withWindowSet $ return . find p . W.screens
|
pointScreen x y = withWindowSet $ return . find p . W.screens
|
||||||
where p = pointWithin x y . screenRect . W.screenDetail
|
where p = pointWithin x y . screenRect . W.screenDetail
|
||||||
|
|
||||||
-- | 'pointWithin x y r' returns 'True' if the '(x, y)' co-ordinate is within
|
-- | @pointWithin x y r@ returns 'True' if the @(x, y)@ co-ordinate is within
|
||||||
-- the 'Rectangle'.
|
-- @r@.
|
||||||
pointWithin :: Position -> Position -> Rectangle -> Bool
|
pointWithin :: Position -> Position -> Rectangle -> Bool
|
||||||
pointWithin x y r = x >= rect_x r &&
|
pointWithin x y r = x >= rect_x r &&
|
||||||
x < rect_x r + fromIntegral (rect_width r) &&
|
x < rect_x r + fromIntegral (rect_width r) &&
|
||||||
|
Reference in New Issue
Block a user