gtk/gdk/quartz
Richard Hult f2f1be4e4f Break out code that was repeated into separate functions and call them
2007-05-28  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
	(get_ancestor_coordinates_from_child): Break out code that was
	repeated into separate functions and call them instead.
	(find_window_for_mouse_nsevent): Break out this from
	find_window_for_nsevent to make the code clearer.
	(find_window_for_nsevent): Use the above and fix the returned
	coordinates in the process so that they are always relative the
	found window, both for the normal case and during grabs. Still
	needs fixing for the case where we get nsevents for a window other
	than than grab window during grabs.

svn path=/trunk/; revision=17971
2007-05-28 21:11:55 +00:00
..
.cvsignore Shutup CVS 2006-08-08 22:47:57 +00:00
gdkcolor-quartz.c Clean up namespaces to make the code more maintainable. 2007-04-06 21:12:48 +00:00
gdkcursor-quartz.c Clean up namespaces to make the code more maintainable. 2007-04-06 21:12:48 +00:00
gdkdisplay-quartz.c Set the resolution. 2007-05-21 19:40:43 +00:00
gdkdnd-quartz.c Add more stubs. 2006-03-27 10:47:29 +00:00
gdkdrawable-quartz.c Fix bugs #428733 and #433301. Turns out the lockFocus logic was flawed, 2007-05-05 10:19:39 +00:00
gdkdrawable-quartz.h Update for the new quartz cairo surface API (#410442). Don't lock focus 2007-03-10 21:58:49 +00:00
gdkeventloop-quartz.c fix two more potential races that could happen when an application is 2007-04-28 18:14:19 +00:00
gdkevents-quartz.c Break out code that was repeated into separate functions and call them 2007-05-28 21:11:55 +00:00
gdkfont-quartz.c Add more stubs. 2006-03-27 10:47:29 +00:00
gdkgc-quartz.c Clean up namespaces to make the code more maintainable. 2007-04-06 21:12:48 +00:00
gdkgeometry-quartz.c Implement some more stubs for pygtk, bug #346713. 2006-07-09 18:09:09 +00:00
gdkglobals-quartz.c
gdkim-quartz.c
gdkimage-quartz.c Implement copying from a window, part of bug #348493. 2007-05-25 19:47:23 +00:00
gdkinput-old.c
gdkinput.c
gdkinputprivate.h
gdkkeys-quartz.c Clean up namespaces to make the code more maintainable. 2007-04-06 21:12:48 +00:00
gdkmain-quartz.c Add stubs for gdk_notify_startup_complete_with_id and 2007-03-15 18:06:58 +00:00
gdkpixmap-quartz.c Update for the new quartz cairo surface API (#410442). Don't lock focus 2007-03-10 21:58:49 +00:00
gdkpixmap-quartz.h
gdkprivate-quartz.h Refactored version of _gdk_quartz_window_find_child_by_point, that doesn't 2007-05-28 20:42:51 +00:00
gdkproperty-quartz.c Add missing CLIPBOARD atom. 2006-03-29 20:34:33 +00:00
gdkquartz.h Import AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for 2007-02-18 10:26:49 +00:00
GdkQuartzView.c Remove unneccesary exposure mask check. 2007-03-10 20:57:13 +00:00
GdkQuartzView.h Import AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for 2007-02-18 10:26:49 +00:00
GdkQuartzWindow.c Clean up namespaces to make the code more maintainable. 2007-04-06 21:12:48 +00:00
GdkQuartzWindow.h Import AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for 2007-02-18 10:26:49 +00:00
gdkscreen-quartz.c Set the resolution. 2007-05-21 19:40:43 +00:00
gdkselection-quartz.c Set the window level depending on the type hint. 2006-07-24 10:46:21 +00:00
gdkspawn-quartz.c Add spawn functions, copied from the win32 backend. 2006-06-03 17:51:34 +00:00
gdkvisual-quartz.c
gdkwindow-quartz.c Refactored version of _gdk_quartz_window_find_child_by_point, that doesn't 2007-05-28 20:42:51 +00:00
gdkwindow-quartz.h Implement type hints and use them to determine which windows should be 2006-07-19 09:13:24 +00:00
Makefile.am Factored out the event loop integration into gdkeventloop-quartz.c. 2006-12-28 09:04:48 +00:00