gtk2/gdk
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
..
directfb Remove duplicate doc comments that cause problems when building the docs. 2007-05-27 01:36:52 +00:00
linux-fb Win32 drop shadow goodness 2007-04-25 23:44:54 +00:00
quartz Break out code that was repeated into separate functions and call them 2007-05-28 21:11:55 +00:00
win32 Fix context iterations for handle_configure_event() 2007-05-13 18:44:27 +00:00
x11 Update docs 2007-05-26 20:50:34 +00:00
.cvsignore Shut up CVS 2005-03-16 04:36:05 +00:00
abicheck.sh Commit a patch by Behdad to fix typos, omissions and other errors in the 2006-09-10 06:39:16 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c Update docs 2007-05-26 20:49:08 +00:00
gdk.h Apply patch by Vytautas Liuolia for changing the startup notification id 2007-03-13 17:03:54 +00:00
gdk.symbols Add some missing symbols. 2007-05-23 17:49:34 +00:00
gdkcairo.c Bug #330022 Wrong pixel values are computed when color = 0xFF and alpha = 2006-02-05 20:34:43 +00:00
gdkcairo.h Add gdk_cairo_set_source_pixmap. (#318805, Alexander Larsson) 2005-12-30 07:16:35 +00:00
gdkcolor.c Fix a typo 2006-12-29 18:43:40 +00:00
gdkcolor.h Add a function for converting a GdkColor to a string (#373856). 2006-12-21 12:34:41 +00:00
gdkconfig.h.win32 Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkcursor.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkcursor.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkdisplay.c Improve docs. (#353438, Mariano Suárez-Alvarez) 2006-12-21 16:25:01 +00:00
gdkdisplay.h Support input shapes: (#331070) 2006-02-20 01:36:50 +00:00
gdkdisplaymanager.c Remove extraneous ; 2006-05-14 03:58:06 +00:00
gdkdisplaymanager.h Renames: 2002-06-20 23:59:27 +00:00
gdkdnd.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkdnd.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkdraw.c Add Sun mediaLib support so that hardware acceleration via mediaLib is 2007-05-16 01:35:51 +00:00
gdkdrawable.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkevents.c Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder, 2007-03-09 21:57:37 +00:00
gdkevents.h call gdk_event_request_motions() for new motion events after receiving 2007-02-06 14:53:35 +00:00
gdkfont.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 15:14:26 +00:00
gdkfont.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkgc.c Cleanups 2006-10-08 05:32:07 +00:00
gdkgc.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkglobals.c Commit a patch by Behdad to fix typos, omissions and other errors in the 2006-09-10 06:39:16 +00:00
gdki18n.h Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType, 2002-01-30 02:01:10 +00:00
gdkimage.c connect to the display's "closed" signal and free the cached scratch 2006-01-12 13:50:51 +00:00
gdkimage.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkinput.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkinternals.h Rollback the following changes, to fix it the proper way in Pango: 2006-05-22 17:08:13 +00:00
gdkintl.h Make the GdkScreen font options api public, and add properties 2005-08-26 18:49:52 +00:00
gdkkeynames.c gdk_key is a typedef, not a struct tag. 2005-03-17 12:05:16 +00:00
gdkkeys.c Remove extraneous ; 2006-05-14 03:58:06 +00:00
gdkkeys.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkkeysyms-update.pl Regenerated from Xorg 7.1 keysyms.h, using gdkkeysyms-update.pl. 2006-05-11 17:15:40 +00:00
gdkkeysyms.h Regenerated from Xorg 7.1 keysyms.h, using gdkkeysyms-update.pl. 2006-05-11 17:15:40 +00:00
gdkkeyuni.c Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkmarshalers.list New demo for window migration between different displays and screens. 2002-08-01 23:43:13 +00:00
gdkmedialib.c 2.11.0 2007-05-24 05:51:56 +00:00
gdkmedialib.h 2.11.0 2007-05-24 05:51:56 +00:00
gdkpango.c Use PANGO_PIXELS instead of division. (#334617) 2007-02-16 22:12:42 +00:00
gdkpango.h Bug 355343. Add a GdkPangoAttrEmbossColor. 2006-09-19 16:37:41 +00:00
gdkpixbuf-drawable.c New function to avoid pointless strdups when creating atoms from static 2005-09-11 05:39:45 +00:00
gdkpixbuf-render.c Another doc update 2005-12-20 05:35:15 +00:00
gdkpixbuf.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkpixmap.c Don't use G_DEFINE_TYPE, since the instance struct name does not match the 2006-05-31 03:34:04 +00:00
gdkpixmap.h New function to allow wrapping a native pixmap without a server roundtrip. 2006-03-30 04:08:51 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Inline docs, use g_assert(), avoid extra allocation for rectangular 2005-12-24 07:29:00 +00:00
gdkprivate.h Add Sun mediaLib support so that hardware acceleration via mediaLib is 2007-05-16 01:35:51 +00:00
gdkproperty.h New function to avoid pointless strdups when creating atoms from static 2005-09-11 05:39:45 +00:00
gdkrectangle.c Note in docs that @dest can be the same as @src1 or @src2. (#343233, 2006-05-28 20:24:43 +00:00
gdkregion-generic.c Cleanups 2006-10-08 05:32:07 +00:00
gdkregion-generic.h Handle a borderline case correctly 2007-04-18 15:19:58 +00:00
gdkregion.h Inline docs, use g_assert(), avoid extra allocation for rectangular 2005-12-24 07:29:00 +00:00
gdkrgb.c Add Sun mediaLib support so that hardware acceleration via mediaLib is 2007-05-16 01:35:51 +00:00
gdkrgb.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkscreen.c Rollback the following changes, to fix it the proper way in Pango: 2006-05-22 17:08:13 +00:00
gdkscreen.h Create 'composited' label. 2006-04-25 14:27:32 +00:00
gdkselection.c Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkselection.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkspawn.h Utility functions for multi-screen applications which need to ensure 2003-12-10 13:49:58 +00:00
gdktypes.h Don't use GDK_ALT_MASK. 2005-09-06 19:25:47 +00:00
gdkvisual.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkvisual.h Add Copyright/License information. 2005-07-12 05:09:13 +00:00
gdkwindow.c Doc improvements 2007-03-12 06:26:34 +00:00
gdkwindow.h Add functionality to set overall opacity of a top-level window. (#405316) 2007-04-30 07:27:22 +00:00
gen-keyname-table.pl Generate N_() calls for translatable key names. 2005-06-10 06:41:04 +00:00
keyname-table.h Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
keynames.txt Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
makeenums.pl Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am Add Sun mediaLib support so that hardware acceleration via mediaLib is 2007-05-16 01:35:51 +00:00
makefile.msc also recurse into win32 for ::clean create gtkbuiltincache.h (most code to 2006-01-05 23:55:08 +00:00
makegdkalias.pl Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
pltcheck.sh Commit a patch by Behdad to fix typos, omissions and other errors in the 2006-09-10 06:39:16 +00:00
testgdk.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00