gtk2/gdk
Kristian Rietveld 8846012c6d Rework coordinate transformation to be based on root window
The root window contains all the monitors attached to a Mac.  The
coordinate transformation now both translates the x and y coordinate,
translating it from the Cocoa monitor coordinate space to the GDK
coordinate space.  How monitors are laid out in the root window differs
between Cocoa and GDK, which is why it is important to translate based
on the root window to get multi monitor setups to work properly.

We have replaced the old y coordinate transformation function with
new functions that translate both the x and y coordinate.

When creating new toplevels, we have to determine the Cocoa screen on
which the toplevel should appear and translate the coordinates according
to that screen.

This change also fixes event handling in case there is a monitor left
of the screen containing the menu bar.  In such a case all coordinates
on the left monitor are negative.  Event handling broke, because of
_gdk_quartz_window_find_child() checking bounds.  Now that coordinates
are always properly translated to GDK coordinate space, in which negative
coordinates do never occur, the checks here will work properly.
2009-10-26 09:52:54 +01:00
..
directfb Fix for position bug 2009-10-24 17:20:50 +02:00
quartz Rework coordinate transformation to be based on root window 2009-10-26 09:52:54 +01:00
tests Add git.mk to generate .gitignore files 2009-05-04 14:29:21 -04:00
win32 Use correct type text/uri-list for the dropped files selection 2009-10-23 13:40:27 +03:00
x11 Remove some unnused variables 2009-10-20 20:37:46 +02: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
gdk.c Don't propagate GDK_NATIVE_WINDOWS to child processes 2009-08-31 15:06:01 +02:00
gdk.h Add gdk_threads_add_timeout_seconds{_full} 2008-07-31 22:11:44 +00:00
gdk.symbols Make gdk_window_flush public 2009-09-14 16:07:25 +02:00
gdkapplaunchcontext.c Typo fixes and small doc improvements 2008-12-26 04:20:28 +00:00
gdkapplaunchcontext.h fix typo in the type name so the macro becomes usable. 2008-10-15 15:50:10 +00:00
gdkcairo.c Add gdk_cairo_reset_clip 2009-09-01 17:06:41 +02:00
gdkcairo.h Fix a typo 2009-09-04 23:27:37 -04:00
gdkcolor.c Revert name change 2008-07-01 22:57:50 +00:00
gdkcolor.h Revert name change 2008-07-01 22:57:50 +00:00
gdkconfig.h.win32 Define GDK_NATIVE_WINDOW_POINTER on 32-bit Windows, too. It just makes 2008-08-04 22:20:53 +00:00
gdkcursor.c Update docs on blank cursors 2009-01-20 02:27:57 +00:00
gdkcursor.h Cache cursors to avoid libXcursor theme lookup overhead. 2009-01-20 02:15:59 +00:00
gdkdisplay.c Remove unused grab_one_pointer_release_event var 2009-09-28 15:26:19 +02:00
gdkdisplay.h Initial version of input support 2009-05-29 16:39:12 +02:00
gdkdisplaymanager.c Make distcheck pass 2009-07-06 23:06:46 -04:00
gdkdisplaymanager.h Revert name change 2008-07-01 22:57:50 +00:00
gdkdnd.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 22:35:16 +00:00
gdkdnd.h Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 22:35:16 +00:00
gdkdraw.c Clean up gdk_draw_drawable() composite handling 2009-08-25 10:37:18 +02:00
gdkdrawable.h Make GdkDrawable draw_drawable backwards compat 2009-07-01 19:50:49 +02:00
gdkenumtypes.c.template Use templates for glib-mkenums calls instead of complicated commandlines 2007-11-26 17:32:19 +00:00
gdkenumtypes.h.template do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (you 2008-06-23 12:09:15 +00:00
gdkevents.c Track viewable for GdkWindow 2009-07-18 23:11:54 +02:00
gdkevents.h Deprecate gdk_event_get_graphics exposes 2009-09-09 09:00:15 -04:00
gdkfont.c Revert name change 2008-07-01 22:57:50 +00:00
gdkfont.h Revert name change 2008-07-01 22:57:50 +00:00
gdkgc.c Ensure gc clip region valid in _gdk_gc_update_context 2009-09-04 16:06:51 +02:00
gdkgc.h Use g_object_ref/unref instead deprecated gdk_*_ref/unref functions 2009-10-14 03:13:52 +02:00
gdkglobals.c Add support for enabling only native windows 2009-08-24 15:22:29 +02:00
gdki18n.h Revert name change 2008-07-01 22:57:50 +00:00
gdkimage.c gdk/gdkdraw.c gdk/gdkimage.c gdk/gdkscreen.c replace assertions for obj != 2008-10-21 21:42:39 +00:00
gdkimage.h Use g_object_ref/unref instead deprecated gdk_*_ref/unref functions 2009-10-14 03:13:52 +02:00
gdkinput.h Revert name change 2008-07-01 22:57:50 +00:00
gdkinternals.h Remove unused grab_one_pointer_release_event var 2009-09-28 15:26:19 +02:00
gdkintl.h Revert name change 2008-07-01 22:57:50 +00:00
gdkkeynames.c Revert name change 2008-07-01 22:57:50 +00:00
gdkkeys.c Typo fixes and small doc improvements 2008-12-26 04:20:28 +00:00
gdkkeys.h Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc. 2008-09-29 20:40:45 +00:00
gdkkeysyms-update.pl Avoid duplicate keysyms, ignore mispelled one 2009-09-10 10:16:44 +01:00
gdkkeysyms.h Avoid duplicate keysyms, ignore mispelled one 2009-09-10 10:16:44 +01:00
gdkkeyuni.c Revert name change 2008-07-01 22:57:50 +00:00
gdkmarshalers.list Add signals for offscreen window embedding 2009-06-08 19:39:06 +02:00
gdkmedialib.c Minor fix for GTK+ mediaLib code. 2009-04-29 18:52:32 -05:00
gdkmedialib.h Revert name change 2008-07-01 22:57:50 +00:00
gdkoffscreenwindow.c Cleanups 2009-09-10 13:53:28 -04:00
gdkpango.c Initial client-side-windows work 2009-04-02 10:14:01 +02:00
gdkpango.h Revert name change 2008-07-01 22:57:50 +00:00
gdkpixbuf-drawable.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkpixbuf-render.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkpixbuf.h Revert name change 2008-07-01 22:57:50 +00:00
gdkpixmap.c Clean up gdk_draw_drawable() composite handling 2009-08-25 10:37:18 +02:00
gdkpixmap.h Use g_object_ref/unref instead deprecated gdk_*_ref/unref functions 2009-10-14 03:13:52 +02:00
gdkpoly-generic.h
gdkpolyreg-generic.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkprivate.h Make public GDK_WINDOW_TYPE and GDK_WINDOW_DESTROYED use functions calls 2009-09-04 17:59:17 +02:00
gdkproperty.h Revert name change 2008-07-01 22:57:50 +00:00
gdkrectangle.c Revert name change 2008-07-01 22:57:50 +00:00
gdkregion-generic.c Add gdk_region_rect_equal to compare a region with a rect 2009-05-26 20:48:10 +02:00
gdkregion-generic.h Handle a borderline case correctly 2007-04-18 15:19:58 +00:00
gdkregion.h Small documentation fixes 2009-07-05 20:56:44 -04:00
gdkrgb.c use g_error() instead of a combination of g_warning+exit to avoid 2008-08-07 14:23:07 +00:00
gdkrgb.h Revert name change 2008-07-01 22:57:50 +00:00
gdkscreen.c Update documentation for ::monitors-changed to mention OS X support 2009-10-26 09:52:53 +01:00
gdkscreen.h Add _gdk_drawable_get_subwindow_scratch_gc as a way to get cached gcs with GDK_INCLUDE_INFERIORS 2009-04-02 10:15:18 +02:00
gdkselection.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 22:43:57 +00:00
gdkselection.h Fix the return type of gdk_selection_property_get 2009-09-02 22:50:05 -04:00
gdkspawn.h define __GDK_H_INSIDE__ around including all other headers. 2008-05-28 14:01:57 +00:00
gdktestutils.h gdk/gdkapplaunchcontext.h gdk/gdktestutils.h gtk/gtkmountoperation.h 2008-05-30 12:08:30 +00:00
gdktypes.h Revert name change 2008-07-01 22:57:50 +00:00
gdkvisual.c Revert name change 2008-07-01 22:57:50 +00:00
gdkvisual.h Revert name change 2008-07-01 22:57:50 +00:00
gdkwindow.c Remove some unnused variables 2009-10-20 20:37:46 +02:00
gdkwindow.h Use g_object_ref/unref instead deprecated gdk_*_ref/unref functions 2009-10-14 03:13:52 +02:00
gdkwindowimpl.c Fix make check 2008-07-04 04:02:35 +00:00
gdkwindowimpl.h Add gdk_window_restack 2009-09-02 23:38:55 +02:00
gen-keyname-table.pl Generate N_() calls for translatable key names. 2005-06-10 06:41:04 +00:00
keyname-table.h fix small typo. 2008-10-28 22:55:23 +00:00
keynames.txt Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
makeenums.pl
Makefile.am Make distcheck pass 2009-07-06 23:06:46 -04:00
makefile.msc Make more use of defines in $(TOP)/build/win32/make.msc 2009-07-13 09:45:04 +02: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 Use g_object_ref/unref instead deprecated gdk_*_ref/unref functions 2009-10-14 03:13:52 +02:00