XMonad.Util.PositionStore

xmonad-contrib-0.18.1: Community-maintained 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 | Haskell2010

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

Instances details

Read PositionStore # |
Instance details Defined in XMonad.Util.PositionStore Methods readsPrec :: Int -> ReadS PositionStore # readList :: ReadS [PositionStore] # readPrec :: ReadPrec PositionStore # readListPrec :: ReadPrec [PositionStore] #
Show PositionStore # |
Instance details Defined in XMonad.Util.PositionStore Methods showsPrec :: Int -> PositionStore -> ShowS # show :: PositionStore -> String # showList :: [PositionStore] -> ShowS #
ExtensionClass PositionStore # |
Instance details Defined in XMonad.Util.PositionStore Methods initialValue :: PositionStore # extensionType :: PositionStore -> StateExtension #