xmonad-contrib-0.18.0: Community-maintained extensions for xmonad
Copyright(c) Lukas Mai
LicenseBSD3-style (see LICENSE)
Maintainer<l.mai@web.de>
Stabilityunstable
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

XMonad.Actions.FlexibleResize

Contents

Description

Resize floating windows from any corner.

Synopsis

Usage

To use, first import this module into your xmonad.hs file:

import qualified XMonad.Actions.FlexibleResize as Flex

Then add an appropriate mouse binding:

    , ((modm, button3), (\w -> focus w >> Flex.mouseResizeWindow w))

For detailed instructions on editing your mouse bindings, see XMonad.Doc.Extending.

mouseResizeWindow Source #

Arguments

:: Window

The window to resize.

-> X () 

Resize a floating window from whichever corner the mouse is closest to.

mouseResizeEdgeWindow Source #

Arguments

:: Rational

The size of the area where only one edge is resized.

-> Window

The window to resize.

-> X () 

Resize a floating window from whichever corner or edge the mouse is closest to.