mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 16:50:11 +00:00
7e778aa033
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. |
||
---|---|---|
.. | ||
gdkcursor-quartz.c | ||
gdkdevice-core-quartz.c | ||
gdkdevicemanager-core-quartz.c | ||
gdkdevicemanager-core-quartz.h | ||
gdkdisplay-quartz.c | ||
gdkdisplaymanager-quartz.c | ||
gdkdnd-quartz.c | ||
gdkdnd-quartz.h | ||
gdkeventloop-quartz.c | ||
gdkevents-quartz.c | ||
gdkglobals-quartz.c | ||
gdkkeys-quartz.c | ||
gdkprivate-quartz.h | ||
gdkproperty-quartz.c | ||
gdkquartz.h | ||
gdkquartzcursor.h | ||
gdkquartzdevice-core.h | ||
gdkquartzdevicemanager-core.h | ||
gdkquartzdisplay.h | ||
gdkquartzdisplaymanager.h | ||
gdkquartzdnd.h | ||
gdkquartzkeys.h | ||
GdkQuartzNSWindow.c | ||
GdkQuartzNSWindow.h | ||
gdkquartzscreen.h | ||
gdkquartzutils.h | ||
GdkQuartzView.c | ||
GdkQuartzView.h | ||
gdkquartzvisual.h | ||
gdkquartzwindow.h | ||
gdkscreen-quartz.c | ||
gdkscreen-quartz.h | ||
gdkselection-quartz.c | ||
gdktestutils-quartz.c | ||
gdkutils-quartz.c | ||
gdkvisual-quartz.c | ||
gdkwindow-quartz.c | ||
gdkwindow-quartz.h | ||
Makefile.am | ||
xcursors.h |