Copyright | (c) Brandon S Allbery KF8NH, 2012 |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | allbery.b@gmail.com |
Stability | unstable |
Portability | not portable |
Safe Haskell | None |
Language | Haskell98 |
Dump the state of the StackSet
. A logHook
and handleEventHook
are
also provided.
- debugStack :: X ()
- debugStackString :: X String
- debugStackLogHook :: X ()
- debugStackEventHook :: Event -> X All
Documentation
debugStack :: X () Source
Print the state of the current window stack to stderr
, which for most
installations goes to ~/.xsession-errors
. XMonad.Util.DebugWindow
is used to display the individual windows.
debugStackString :: X String Source
Dump the state of the current StackSet
as a multiline String
.
stack [ mm
,(*) ww
, ww
]
float { ww
, ww
}
One thing I'm not sure of is where the zipper is when focus is on a floating window.
debugStackLogHook :: X () Source
The above packaged as a logHook
. (Currently this is identical.)
debugStackEventHook :: Event -> X All Source
The above packaged as a handleEventHook
. You almost certainly do not
want to use this unconditionally, as it will cause massive amounts of
output and possibly slow xmonad
down severely.