DamnSmallLinuxThis forum is for the discussion of DamnSmallLinux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I figured it out. The example was bugged. An XKeyEvent is not as large as an XEvent, and there are many types of events larger than XKeyEvent that the window can receive. When one of these events is received, whatever's after the XKeyEvent is hosed.
I guess the implementation of Xlib on Fedora Core 5 makes all event structures the same size.