gtk/gdk/quartz
Kristian Rietveld 5f25687104 [quartz] Fix manual resizing of windows
In the Quartz backend, there are two methods by which windows are
resized. The first method is fully handled by Quartz and does not appear
in the event stream the application resizes. The second method is when
we resize windows by ourselves. In OS X this happens when a GTK+ resize
grip is used. This resize grip is larger than the Quartz resize grip.
When the resize is started outside the "Quartz area", we have to handle
it by ourselves.

This patch fixes this manual window resizing by ignoring events while we
are in the process of resizing (such that the events actually arrive at
the sendEvent handler of GdkQuartzWindow where this resize is handled).
When the resize has finished we break all grabs such that GDK is not
stuck thinking the cursor is still in the resize window.
2012-04-10 21:22:07 +02: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: fix a race condition when waking up the CGRunLoop 2011-11-11 23:54:23 +01:00
gdkevents-quartz.c [quartz] Fix manual resizing of windows 2012-04-10 21:22:07 +02: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: remove excess initializers in the new modifier_keys array 2012-02-23 13:53:51 +01: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 Export break_all_grabs() within Quartz backend 2012-04-10 21:22:07 +02: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] Fix manual resizing of windows 2012-04-10 21:22:07 +02:00
GdkQuartzWindow.h [quartz] Fix manual resizing of windows 2012-04-10 21:22:07 +02: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 Bug 667691 - implement gdk_window_restack() for Quartz 2012-01-26 10:15:27 +01: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