Hi, Le vendredi 24 avril 2009 à 18:15 +0800, DonDaniel a écrit : > Hello: > I'm a student in Fudan University, China. > Recently I met a problem about the program written with X lib: > > In my program, I design two threads, one is to receive native > event(Event Receiver), while the other > one is to do proper operations according to the events(Event handler). >
Did you use XLockDisplay() / XUnlockDisplay() See http://tronche.com/gui/x/xlib/display/threads.html Regards -- Yann Droneaud _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
