[xmonad] Issue 602 in xmonad: xmonad hangs when clickJustFocuses = False and the user clicks outside of the focused window while a submap is active.

codesite-noreply at google.com codesite-noreply at google.com
Sat May 2 23:07:30 UTC 2015


Comment #13 on issue 602 by untfu... at gmail.com: xmonad hangs when  
clickJustFocuses = False and the user clicks outside of the focused window  
while a submap is active.
https://code.google.com/p/xmonad/issues/detail?id=602

The problem is that peekEvent does not only admit key/mouse events, but  
every event (as far as I can tell).  So, aborting on the first peeked  
non-key event leads to the submap being terminated near-instantly.

I've been trying to find a way to only peek at the first key/button event.   
But, since peekEvent only peeks at the beginning of the queue, so far I've  
only managed to do so by consuming (using nextEvent) every event up until  
first key/button event.  I think we all agree that shouldn't happen, so  
I've been searching for alternatives, such as getting the next key/button  
event then putting it back (which unfortunately doesn't seem to be working).

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings


More information about the xmonad mailing list