Hey, Am Donnerstag, den 23.08.2007, 16:09 -0400 schrieb Francis Kung: > > Yeah it's definitely related to this. I found out that using the > > recursive lock instead of the GTK lock helps already. Not sure how to > > solve this yet, had no time to dig this. > > > >> Currently testing a fix... > > > > Cool. Keep me updated. > > Committing the attached patch, which resolves the deadlock... the same > "unlocked" pattern has been used for a number of other GTK methods, and > seems appropriate here too. > > Unfortunately, graphics still don't seem to work - mouse events don't > seem to register (clicking on buttons in the Swing demo has no effect, > for example)...
Strange thing is, AWT/Swing seems to work here for me, even before your patch. I have a ton of uncommitted stuff lying around, I gotta check this. Hope we don't do dupe work. The unlocked pattern seems ok though. For the mouse events, it might have something to do with how Swing recognizes the 1st button. There's a method to check that in SwingUtilities.isLeftMouseButton() IIRC. Hope that helps. Cheers, Roman -- Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org aicas Allerton Interworks Computer Automated Systems GmbH Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany http://www.aicas.com * Tel: +49-721-663 968-0 USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe Geschäftsführer: Dr. James J. Hunt
