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.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

Eq DraggingVisualizerMsg # |
Methods (==) :: DraggingVisualizerMsg -> DraggingVisualizerMsg -> Bool # (/=) :: DraggingVisualizerMsg -> DraggingVisualizerMsg -> Bool #
Message DraggingVisualizerMsg # |

data DraggingVisualizer a #

Instances

LayoutModifier DraggingVisualizer Window # |
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) # |
Methods readsPrec :: Int -> ReadS (DraggingVisualizer a) # readList :: ReadS [DraggingVisualizer a] # readPrec :: ReadPrec (DraggingVisualizer a) # readListPrec :: ReadPrec [DraggingVisualizer a] #
Show (DraggingVisualizer a) # |
Methods showsPrec :: Int -> DraggingVisualizer a -> ShowS # show :: DraggingVisualizer a -> String # showList :: [DraggingVisualizer a] -> ShowS #