xorg-server patching


The problem of using keyboard shortcuts with the keyboard layout is relevant from about 2004.
For example: if «ctrl+shift» is keyboard layout, then «ctrl+shift+t»(open last closed tab in google chrome) — will not work.
I'm using linux Gentoo.
Further actions will be relevant only for Gentoo.
Under root user do next steps:
emerge -f xorg-server
cd ~
cp /usr/portage/distfiles/xorg-server-1.9.2.tar.bz2 .
tar -jxf xorg-server-1.9.2.tar.bz2
cd xorg-server-1.9.2
patch -p1 < patch.xorg
ebuild /usr/portage/x11-base/xorg-server/xorg-server-1.9.2.ebuild unpack
cd /var/tmp/portage/x11-base/xorg-server-1.9.2/work
rm -rf xorg-server-1.9.2/
cp -R ~/xorg-server-1.9.2 .
ebuild /usr/portage/x11-base/xorg-server/xorg-server-1.9.2.ebuild merge
edit /var/lib/portage/world and delete string x11-base/xorg-server-1.9.2
/etc/init.d/xdm restart