gtk/gdk/quartz
Michael Natterer 6f4a6b4936 quartz: handle recursive CFRunLoops
Fixes e.g. crashs when dropping from finder.

Turn the "getting_events" boolean into a counter to handle poll_func()
being called recursively, and track the loop depth correctly by
changing its counter before bailing out in run_loop_observer_callback().
This way we reallocate our autorelease pool at the right time, and
don't kill memory that is still in use by outer run loops.

Also drain, not release the pool, just for some defensive forward
compatibility.
2011-11-06 23:12:57 +01:00
..
gdkapplaunchcontext-quartz.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkcolor-quartz.c Refactor to use API that's available in OS X 10.4 as well 2010-06-27 10:41:15 +02:00
gdkcursor-quartz.c Fix compile warning in gdk_cursor_new_from_pixmap 2009-12-28 21:18:57 +01:00
gdkdisplay-quartz.c gdk: Use 'const' instead deprecated G_CONST_RETURN 2011-06-15 14:47:19 +01:00
gdkdnd-quartz.c Do not use static GTypeInfo and GInterfaceInfo 2009-11-06 01:21:09 +01:00
gdkdrawable-quartz.c Bug 655087: Prevent drqwing when there are no rectangles in which to draw. 2011-08-13 13:20:22 -07:00
gdkdrawable-quartz.h reviewed by: Richard Hult 2008-07-20 16:14:35 +00:00
gdkeventloop-quartz.c quartz: handle recursive CFRunLoops 2011-11-06 23:12:57 +01:00
gdkevents-quartz.c quartz: make test_resize () conform to coding style 2011-11-06 09:33:50 +01:00
gdkfont-quartz.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkgc-quartz.c Bug 659907 - gdk_quartz_draw_opaque_stippled_pattern crashes 2011-09-23 09:03:36 +02:00
gdkgeometry-quartz.c Revert "Deprecate the GdkRegion API" 2010-05-26 09:25:35 +02:00
gdkglobals-quartz.c quartz: make gdk_quartz_osx_version conform to coding style 2011-11-06 09:34:39 +01:00
gdkim-quartz.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkimage-quartz.c Do not use static GTypeInfo and GInterfaceInfo 2009-11-06 01:21:09 +01:00
gdkinput-old.c Do not use static GTypeInfo and GInterfaceInfo 2009-11-06 01:21:09 +01:00
gdkinput.c gdk: Use 'const' instead deprecated G_CONST_RETURN 2011-06-15 14:47:19 +01:00
gdkinputprivate.h Bug 598881 - Unimplemented GdkWindowImplIface methods crash gimp on OSX 2009-10-23 13:53:57 +02:00
gdkkeys-quartz.c quartz: my last commit had merge junk in it, sorry 2011-09-28 19:01:01 +02:00
gdkmain-quartz.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkpixmap-quartz.c quartz: Always use generic color space 2010-10-19 10:41:01 +02:00
gdkpixmap-quartz.h Rework GdkPixmapImplQuartz to create CGImage on-demand 2010-10-19 10:40:48 +02:00
gdkprivate-quartz.h Bug 655087: Prevent drqwing when there are no rectangles in which to draw. 2011-08-13 13:20:22 -07:00
gdkproperty-quartz.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkquartz.h Bug 655122: Detect OSX version for handling version-dependent special cases (the one in question is resizing, which OSX 10.7 allows on all edges instead of the lower-right corner as on previous versions) 2011-08-13 13:55:08 -07:00
GdkQuartzView.c Move Leopard-specific type definitions to gdkquartz.h 2010-06-27 10:41:15 +02:00
GdkQuartzView.h Remove workaround for missing enter events on newly popped up windows 2009-04-02 10:15:32 +02:00
GdkQuartzWindow.c quartz: also update window position on windowDidResize 2011-10-08 11:28:44 +02:00
GdkQuartzWindow.h Move the tracking rect workaround from here... 2008-01-10 19:35:53 +00:00
gdkscreen-quartz.c Implement gdk_screen_get_primary_monitor in all GDK backends 2009-12-13 20:40:02 -05:00
gdkscreen-quartz.h Rework coordinate transformation to be based on root window 2009-10-26 09:52:54 +01:00
gdkselection-quartz.c Bug 653450 - gtkfilechooser crashes when added favorite 2011-09-24 10:56:05 -07:00
gdkspawn-quartz.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdktestutils-quartz.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkvisual-quartz.c Add gray visual, implement "get_best" functions 2010-06-27 10:41:15 +02:00
gdkwindow-quartz.c Quartz, Bug 655057: Eliminate Compiler Warning 2011-10-09 09:52:14 -07:00
gdkwindow-quartz.h Move Leopard-specific type definitions to gdkquartz.h 2010-06-27 10:41:15 +02:00
Makefile.am Create a proper subclass of GdkScreen: GdkScreenQuartz 2009-10-26 09:52:52 +01:00
xcursors.h Fallback to X cursors for the ones that OS X doesn't provide. Fixes bug 2007-06-25 19:43:22 +00:00