xmonad-contrib-0.17.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 | Safe-Inferred
Language | Haskell2010

XMonad.Layout.DraggingVisualizer

Description

A helper module to visualize the process of dragging a window by making it follow the mouse cursor. See XMonad.Layout.WindowSwitcherDecoration for a module that makes use of this.

# Documentation

draggingVisualizer :: LayoutClass l Window => l Window -> ModifiedLayout DraggingVisualizer l Window #

data DraggingVisualizerMsg #

Constructors

DraggingWindow Window Rectangle |
DraggingStopped |

#### Instances

Instances details

Eq DraggingVisualizerMsg # |
Instance details Defined in XMonad.Layout.DraggingVisualizer Methods (==) :: DraggingVisualizerMsg -> DraggingVisualizerMsg -> Bool # (/=) :: DraggingVisualizerMsg -> DraggingVisualizerMsg -> Bool #
Message DraggingVisualizerMsg # |
Instance details Defined in XMonad.Layout.DraggingVisualizer

data DraggingVisualizer a #

#### Instances

Instances details

LayoutModifier DraggingVisualizer Window # |
Instance details Defined in XMonad.Layout.DraggingVisualizer Methods modifyLayout :: LayoutClass l Window => DraggingVisualizer Window -> Workspace WorkspaceId (l Window) Window -> Rectangle -> X ([(Window, Rectangle)], Maybe (l Window)) # modifyLayoutWithUpdate :: LayoutClass l Window => DraggingVisualizer Window -> Workspace WorkspaceId (l Window) Window -> Rectangle -> X (([(Window, Rectangle)], Maybe (l Window)), Maybe (DraggingVisualizer Window)) # handleMess :: DraggingVisualizer Window -> SomeMessage -> X (Maybe (DraggingVisualizer Window)) # handleMessOrMaybeModifyIt :: DraggingVisualizer Window -> SomeMessage -> X (Maybe (Either (DraggingVisualizer Window) SomeMessage)) # pureMess :: DraggingVisualizer Window -> SomeMessage -> Maybe (DraggingVisualizer Window) # redoLayout :: DraggingVisualizer Window -> Rectangle -> Maybe (Stack Window) -> [(Window, Rectangle)] -> X ([(Window, Rectangle)], Maybe (DraggingVisualizer Window)) # pureModifier :: DraggingVisualizer Window -> Rectangle -> Maybe (Stack Window) -> [(Window, Rectangle)] -> ([(Window, Rectangle)], Maybe (DraggingVisualizer Window)) # hook :: DraggingVisualizer Window -> X () # unhook :: DraggingVisualizer Window -> X () # modifierDescription :: DraggingVisualizer Window -> String # modifyDescription :: LayoutClass l Window => DraggingVisualizer Window -> l Window -> String #
Read (DraggingVisualizer a) # |
Instance details Defined in XMonad.Layout.DraggingVisualizer Methods readsPrec :: Int -> ReadS (DraggingVisualizer a) # readList :: ReadS [DraggingVisualizer a] # readPrec :: ReadPrec (DraggingVisualizer a) readListPrec :: ReadPrec [DraggingVisualizer a]
Show (DraggingVisualizer a) # |
Instance details Defined in XMonad.Layout.DraggingVisualizer Methods showsPrec :: Int -> DraggingVisualizer a -> ShowS # show :: DraggingVisualizer a -> String # showList :: [DraggingVisualizer a] -> ShowS #