<div dir="ltr">On Thu, Jan 5, 2012 at 15:39, Allen S. Rout <span dir="ltr">&lt;<a href="mailto:asr@ufl.edu">asr@ufl.edu</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">
So: with my focus on the Emacs, I [C-c C-e d] (control-c, control-e,<br>
d) and watch the export process go.  Evince updates with the view of<br>
the new document.<br>
<br>
... And my focus is now oddly inconsistent.  The Emacs window still<br>
has the red border by which xmonad attempts to communicate focus, and<br>
if I do things like &#39;onNextNeighbour W.view&#39; it becomes clear that<br>
xmonad thinks my focus is there.  But my keystrokes are going to<br>
evince.<br></blockquote><div><br></div><div>evince is probably raising / focusing itself.  It should ask the WM to do so instead of doing so itself, but doesn&#39;t; and there have been other reports that xmonad doesn&#39;t notice when programs do that.  I suspect an addition to the handleEventHook is needed that watches for FocusIn events and updates the internal state if necessary.</div>
<div><br></div><div>...except I just noticed that Graphics.X11.Xlib.Extras.Event doesn&#39;t *have* FocusIn.  Errrr???</div><div><br></div></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>