> This patch seems good to me at first sight. I didn't test it obviously > though. Actually, there's something wrong. It doesn't work directly after a reboot; I have to restart the X server at least once for it to be okay.