Keeps per window keyboard layout under X11.

Sometimes you want to setup switching keyboard layouts using X server --
because there is no DE plugin, or it's broken, or lacks needed functionality.
You can easily configure X server to switch keyboard layouts, but I could not
find way of keeping layout for each window separately using only X server.
Hence this package.

Tested under xfce4.

Example of usage:

$ cat ~/.xinitrc
#!/bin/sh

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

export LANG=ru_RU.utf8

setxkbmap -layout 'us,ru(winkeys)' -model pc105 -option grp:rwin_toggle,grp_led:num

perWindowLayoutD

exec ck-launch-session dbus-launch startxfce4
