xmonad-contrib-0.13: Third party extensions for xmonad

Copyright | (c) Jan Vornberger 2009
License | BSD3-style (see LICENSE)
Maintainer | jan.vornberger@informatik.uni-oldenburg.de
Stability | unstable
Portability | not portable
Safe Haskell | None
Language | Haskell98

XMonad.Util.PositionStore

Description

A utility module to store information about position and size of a window. See XMonad.Layout.PositionStoreFloat for a layout that makes use of this.

# Documentation

getPosStore :: X PositionStore #

modifyPosStore :: (PositionStore -> PositionStore) -> X () #

posStoreInsert :: PositionStore -> Window -> Rectangle -> Rectangle -> PositionStore #

posStoreMove :: PositionStore -> Window -> Position -> Position -> Rectangle -> Rectangle -> PositionStore #

posStoreQuery :: PositionStore -> Window -> Rectangle -> Maybe Rectangle #

posStoreRemove :: PositionStore -> Window -> PositionStore #

data PositionStore #

Instances

Read PositionStore # |
Methods readsPrec :: Int -> ReadS PositionStore # readList :: ReadS [PositionStore] # readPrec :: ReadPrec PositionStore # readListPrec :: ReadPrec [PositionStore] #
Show PositionStore # |
Methods showsPrec :: Int -> PositionStore -> ShowS # show :: PositionStore -> String # showList :: [PositionStore] -> ShowS #
ExtensionClass PositionStore # |
Methods initialValue :: PositionStore # extensionType :: PositionStore -> StateExtension #