
2 Sep
2011
2 Sep
'11
3 p.m.
Comment #69 on issue 177 by gere...@gmail.com: xmonad does not follow ICCCM and ignores WM_TAKE_FOCUS protocol http://code.google.com/p/xmonad/issues/detail?id=177 This is possibly because the ICCMFocus hook uses currentTime as the client message data. The ICCM spec says that the timestamp should not be currentTime but a real timestamp, presumably the timestamp of the event causing the focus message to be sent. As far as I can tell the main difference from the hook and my patch is that my patch tracks the timestamp of events so that the message field can be properly sent. I think it ought to be possible to add that behavior by adding an event hook that stores the last event time in some extensible state.