gtk2/gdk/quartz
Michael Natterer d1c6bcb85c 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.
(cherry picked from commit ef9a92d225)
2011-11-06 23:38:50 +01:00
..
gdkcursor-quartz.c quartz: move utils to gdkutils-quartz.c 2010-12-23 14:17:41 +01:00
gdkdevice-core-quartz.c quartz: don't return FALSE from GdkDevice::query_state() 2011-10-22 23:21:02 +02:00
gdkdevicemanager-core-quartz.c quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
gdkdevicemanager-core-quartz.h quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
gdkdisplay-quartz.c quartz: actually register gdk_quartz_display_dispose 2011-05-22 12:29:37 +02:00
gdkdisplaymanager-quartz.c gdk: fix gdk_keyval_to_lower/upper() for Quartz, Win32 and Broadway 2011-10-07 16:19:41 +02:00
gdkdnd-quartz.c Update quartz to reflect deletion of GdkNativeWindow and client_message functions. 2011-02-01 13:53:00 -08:00
gdkdnd-quartz.h quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
gdkeventloop-quartz.c quartz: handle recursive CFRunLoops 2011-11-06 23:38:50 +01:00
gdkevents-quartz.c quartz: use get_toplevel_from_ns_event in one more place 2011-11-06 10:36:00 +01:00
gdkglobals-quartz.c quartz: make gdk_quartz_osx_version conform to coding style 2011-11-06 10:17:46 +01:00
gdkkeys-quartz.c quartz: don't filter away directly encoded 24-bit UCS characters 2011-09-28 13:48:52 +02:00
gdkprivate-quartz.h quartz: remove _gdk_quartz_events_get_current_event_mask 2011-07-30 23:01:38 +02:00
gdkproperty-quartz.c Implement window property vfuncs for quartz 2010-12-22 17:47:01 +01:00
gdkquartz.h Bug 655122: Detect OSX version for handling version-dependent special 2011-08-13 15:29:11 -07:00
gdkquartzcursor.h quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
gdkquartzdevice-core.h quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
gdkquartzdevicemanager-core.h quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
gdkquartzdisplay.h quartz: _gdk_quartz_display -> gdk_quartz_display 2010-12-23 14:17:42 +01:00
gdkquartzdisplaymanager.h quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
gdkquartzdnd.h quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
gdkquartzkeys.h quartz: _gdk_quartz_keymap -> gdk_quartz_keymap 2010-12-23 14:17:42 +01:00
GdkQuartzNSWindow.c quartz: also update window position on windowDidResize 2011-10-08 11:47:11 +02:00
GdkQuartzNSWindow.h Rename GdkQuartzWindow.h and .c to GdkQuartzNSWindow.h and .c 2010-12-24 11:29:08 -08:00
gdkquartzscreen.h quartz: _gdk_quartz_screen -> gdk_quartz_screen 2010-12-23 14:17:42 +01:00
gdkquartzutils.h quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
GdkQuartzView.c quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
GdkQuartzView.h Remove workaround for missing enter events on newly popped up windows 2009-04-02 10:15:32 +02:00
gdkquartzvisual.h quartz: _gdk_quartz_visual -> gdk_quartz_visual 2010-12-23 14:17:42 +01:00
gdkquartzwindow.h quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
gdkscreen-quartz.c quartz: reorder gdkprivate-quartz.h and related clean up 2010-12-23 14:17:42 +01:00
gdkscreen-quartz.h quartz: Clean up header files, use same arrangement as X11 backend 2010-12-23 14:17:41 +01:00
gdkselection-quartz.c Bug 653450 - gtkfilechooser crashes when added favorite 2011-07-14 14:17:51 +02:00
gdktestutils-quartz.c Implement test vfuncs for quartz 2010-12-22 17:47:00 +01:00
gdkutils-quartz.c quartz: move utils to gdkutils-quartz.c 2010-12-23 14:17:41 +01:00
gdkvisual-quartz.c quartz: _gdk_quartz_visual -> gdk_quartz_visual 2010-12-23 14:17:42 +01:00
gdkwindow-quartz.c Quartz: Adapt to GdkWindowImpl api change 2011-11-05 01:11:50 -04:00
gdkwindow-quartz.h Rename GdkQuartzWindow.h and .c to GdkQuartzNSWindow.h and .c 2010-12-24 11:29:08 -08:00
Makefile.am Use AM_CPPFLAGS instead the obsolete INCLUDES 2011-07-06 15:58:32 +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