CVSROOT: /cvs Module name: xenocara Changes by: o...@cvs.openbsd.org 2013/12/12 13:15:07
Modified files: app/cwm : calmwm.c calmwm.h client.c xevents.c Log message: ICCCM explicitly states that server time (CurrentTime) should *not* be used for focus events, but rather the timestamp of the generated event. Track the last event timestamp and send it down for a WM_TAKE_FOCUS ClientMessage. I suspect we should do this for clients that don't announce this Atom as well, though the raciness gets us into a bind. Solves focus order issue since WM_TAKE_FOCUS; fix verified by sthen@ ok sthen@