peek package:xmonad

O(1). Extract the focused element of the current stack. Return Just that element, or Nothing for an empty stack.
interface to the X11 library function XPeekEvent().