<div dir="ltr">On Wed, Nov 16, 2011 at 11:40, Audun Skaugen <span dir="ltr">&lt;<a href="mailto:audunskaugen@gmail.com">audunskaugen@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Nathaniel Filardo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Well, I took a stab at it, but it&#39;s broken. :(  If somebody could look<br>
at <a href="http://www.acm.jhu.edu/~nwf/prompt-core.dpatch" target="_blank">http://www.acm.jhu.edu/~nwf/<u></u>prompt-core.dpatch</a> (the (small) set of<br>
changes needed to xmonad core) and<br>
<a href="http://www.acm.jhu.edu/~nwf/prompt-contrib.dpatch" target="_blank">http://www.acm.jhu.edu/~nwf/<u></u>prompt-contrib.dpatch</a>, I&#39;d be grateful.<br>
<br>
Note that to run the code, you&#39;ll have to add<br>
XMonad.Prompt.eventHandle to your eventHook in xmonad&#39;s configuration<br>
and that I haven&#39;t patched xmonad-extras yet.<br>
  <br>
</blockquote></div>
I haven&#39;t tested it, but do you really need to pass the Ptr XEvent to all event hooks? Wouldn&#39;t it be possible to simply convert the Event into an XEvent?<br>
<br>
Changing the type of the event hook is likely to break a lot of configs.</blockquote><div><br></div><div>There&#39;s a fair amount of breakage in the event stuff, starting with the event definitions in the X11 Haskell bindings. :/ </div>
</div><div><br></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>wandering unix systems administrator (available)     (412) 475-9364 vm/sms<br>
<br>
</div>