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 Source #

data DraggingVisualizerMsg Source #

Constructors

DraggingWindow Window Rectangle |
DraggingStopped |

#### Instances

Instances details

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

data DraggingVisualizer a Source #

#### Instances

Instances details

LayoutModifier DraggingVisualizer Window Source # |

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)) Source #

modifyLayoutWithUpdate :: LayoutClass l Window => DraggingVisualizer Window -> Workspace WorkspaceId (l Window) Window -> Rectangle -> X (([(Window, Rectangle)], Maybe (l Window)), Maybe (DraggingVisualizer Window)) Source #

handleMess :: DraggingVisualizer Window -> SomeMessage -> X (Maybe (DraggingVisualizer Window)) Source #

handleMessOrMaybeModifyIt :: DraggingVisualizer Window -> SomeMessage -> X (Maybe (Either (DraggingVisualizer Window) SomeMessage)) Source #

pureMess :: DraggingVisualizer Window -> SomeMessage -> Maybe (DraggingVisualizer Window) Source #

redoLayout :: DraggingVisualizer Window -> Rectangle -> Maybe (Stack Window) -> [(Window, Rectangle)] -> X ([(Window, Rectangle)], Maybe (DraggingVisualizer Window)) Source #

pureModifier :: DraggingVisualizer Window -> Rectangle -> Maybe (Stack Window) -> [(Window, Rectangle)] -> ([(Window, Rectangle)], Maybe (DraggingVisualizer Window)) Source #

hook :: DraggingVisualizer Window -> X () Source #

unhook :: DraggingVisualizer Window -> X () Source #

modifierDescription :: DraggingVisualizer Window -> String Source #

modifyDescription :: LayoutClass l Window => DraggingVisualizer Window -> l Window -> String Source #

Read (DraggingVisualizer a) Source # |
Instance details Defined in XMonad.Layout.DraggingVisualizer Methods readsPrec :: Int -> ReadS (DraggingVisualizer a) Source # readList :: ReadS [DraggingVisualizer a] Source # readPrec :: ReadPrec (DraggingVisualizer a) Source # readListPrec :: ReadPrec [DraggingVisualizer a] Source #
Show (DraggingVisualizer a) Source # |
Instance details Defined in XMonad.Layout.DraggingVisualizer Methods showsPrec :: Int -> DraggingVisualizer a -> ShowS Source # show :: DraggingVisualizer a -> String Source # showList :: [DraggingVisualizer a] -> ShowS Source #