[xmonad] Revisiting XMonad.Prompt
audunskaugen at gmail.com
Wed Nov 16 17:40:48 CET 2011
Nathaniel Filardo wrote:
> Well, I took a stab at it, but it's broken. :( If somebody could look
> at http://www.acm.jhu.edu/~nwf/prompt-core.dpatch (the (small) set of
> changes needed to xmonad core) and
> http://www.acm.jhu.edu/~nwf/prompt-contrib.dpatch, I'd be grateful.
> Note that to run the code, you'll have to add
> XMonad.Prompt.eventHandle to your eventHook in xmonad's configuration
> and that I haven't patched xmonad-extras yet.
I haven't tested it, but do you really need to pass the Ptr XEvent to
all event hooks? Wouldn't it be possible to simply convert the Event
into an XEvent?
Changing the type of the event hook is likely to break a lot of configs.
More information about the xmonad