gtk+ r20055 - in trunk: . gdk/quartz
- From: rhult svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20055 - in trunk: . gdk/quartz
- Date: Wed, 30 Apr 2008 18:46:01 +0100 (BST)
Author: rhult
Date: Wed Apr 30 17:46:00 2008
New Revision: 20055
URL: http://svn.gnome.org/viewvc/gtk+?rev=20055&view=rev
Log:
2008-04-30 Richard Hult <richard imendio com>
* gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
nsevents with the gdk lock held, fixes deadlock when doing manual
window resizing with threading enabled.
Modified:
trunk/ChangeLog
trunk/gdk/quartz/gdkevents-quartz.c
Modified: trunk/gdk/quartz/gdkevents-quartz.c
==============================================================================
--- trunk/gdk/quartz/gdkevents-quartz.c (original)
+++ trunk/gdk/quartz/gdkevents-quartz.c Wed Apr 30 17:46:00 2008
@@ -1948,7 +1948,11 @@
if (event)
{
if (!gdk_event_translate (event))
- [NSApp sendEvent:event];
+ {
+ GDK_THREADS_LEAVE ();
+ [NSApp sendEvent:event];
+ GDK_THREADS_ENTER ();
+ }
_gdk_quartz_event_loop_release_event (event);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]