Per-window keyboard layout
Basically, this patch implements per-window keyboard layout support in dwm. It makes dwm remember current keyboard layout when a window is unfocused, and restore it back when that window is focused again.
Andreas Amann pointed out that "you cannot switch between tags per mouse if an alternate layout is activated". He kindly created a patch that fixes this: see ml.
- Evgeny Grablyk - email@example.com