Portability | not portable |
---|---|
Stability | unstable |
Maintainer | jan.vornberger@informatik.uni-oldenburg.de |
Various stuff that can be added to the decoration. Most of it is intended to be used by other modules. See XMonad.Layout.ButtonDecoration for a module that makes use of this.
- titleBarButtonHandler :: Window -> Int -> Int -> X Bool
- defaultThemeWithButtons :: Theme
- handleScreenCrossing :: Window -> Window -> X Bool
Documentation
titleBarButtonHandler :: Window -> Int -> Int -> X BoolSource
A function intended to be plugged into the decorationCatchClicksHook
of a decoration.
It will intercept clicks on the buttons of the decoration and invoke the associated action.
To actually see the buttons, you will need to use a theme that includes them.
See defaultThemeWithButtons
below.
defaultThemeWithButtons :: ThemeSource
Intended to be used together with titleBarButtonHandler
. See above.
handleScreenCrossing :: Window -> Window -> X BoolSource
A function intended to be plugged into the decorationAfterDraggingHook
of a decoration.
It will check if the window has been dragged onto another screen and shift it there.
The PositionStore is also updated accordingly, as this is designed to be used together
with XMonad.Layout.PositionStoreFloat.