mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 12:41:53 -07:00
add floating property
This commit is contained in:
@@ -542,6 +542,12 @@ prop_float_reversible n (x :: T) =
|
|||||||
where
|
where
|
||||||
geom = RationalRect 100 100 100 100
|
geom = RationalRect 100 100 100 100
|
||||||
|
|
||||||
|
-- check rectanges were set
|
||||||
|
prop_float_sets_geometry n (x :: T) =
|
||||||
|
n `member` x ==> let y = float n geom x in M.lookup y (floating x) == Just geom
|
||||||
|
where
|
||||||
|
geom = RationalRect 100 100 100 100
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
prop_screens (x :: T) = n `elem` screens x
|
prop_screens (x :: T) = n `elem` screens x
|
||||||
|
Reference in New Issue
Block a user