even package:xmonad-contrib

interface to the X11 library function XEventMaskOfScreen(). Event mask at connection setup time - not current event mask!
interface to the X11 library function XEventsQueued().
O(log n). A new event makes history; its predecessor forgotten.
mu (event k a h) := (k, a) : mu (erase k h)
Embeds a key handler into the X event handler that dispatches key events to the key handler, while non-key event go to the standard handler.
Handles timer events that notify when a window should be removed
Adjusts the event mask to pick up pointer movements.