Fixing DOSEMU

Some days ago I found a bug and I decide to back to my hacking nights and look for a solution, it wasn't so difficult to fix it, but surely very useful. I had to learn a little bit about X and Xlib

The patch fix a "unknown users feature" of dosemu which allow to reparent the root window in another one... I was needing this feature for a OLPC activity that I'm writting (I will post it about this other project soon).

The patch works and I got a reply from Bert (dosemu maintainer) with some comments and some issues to fix in the patch. Now we have to figure out how to fix the new bug in the reparented window: why the reparented window lost the keys input ?? grr, hope to fix this soon...