I developed a little application that grabs the keyboard and sends
keystroke events to using XSendEvent() to the window with the pointer.
Here are some of my observations:
1. if I set event.xany.window = RootWindow(display, screen_num), then
it works under KDE but no GNOME apps. work.
2. if I don't set anything, then GNOME applications work but not KDE
3. In either case, no standard Xt applications work. i.e. xterm,
Is there someone out there who can shed some light on this behavior.
Sent via Deja.com http://www.deja.com/
Before you buy.