>I'm trying to write an app that lets me open multiple pthreaded windows >and do OpenGL in them using the GtkGLExt. Unfortunately I'm running >into a problem getting the drawable in my expose event. you haven't posted much code. the golden rule of X programming (with *any* toolkit) is: use only 1 thread to make calls that resolve to Xlib calls if you don't want to do this, then you have to use mutexes to protect each and every call to any function that might ever make a call to Xlib. g_threads_enter() and g_threads_leave() are your GTK-related friends here. See the FAQ. --p _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list