]> Pileus Git - ~andy/gtk/commit
Bug 672193 - windows (including menus) shown multiple times don't...
authorMichael Natterer <mitch@gimp.org>
Tue, 20 Nov 2012 09:28:58 +0000 (10:28 +0100)
committerMichael Natterer <mitch@gimp.org>
Tue, 20 Nov 2012 09:28:58 +0000 (10:28 +0100)
commit2d5ad5f54e7e78fd35ef09b4ce055af9f6d9aa0a
treefbb68ea16de7fda3d47ae11c89b7d6427522852d
parent352c7f5120d8ee4237692acf1dc0acf4c7b1bf11
Bug 672193 - windows (including menus) shown multiple times don't...

Based on a patch from Paul Davis, inject synthetic enter events directly
into the Quartz event stream, instead of trying to synthesize them in GDK.

This seems to magically fix most combo box popup weirdness, I guess
some code is relying on a specfic order of events, or any other state
imposed by the "proper" code path of events coming in the usual way.

The patch also removes _gdk_quartz_events_send_enter_notify_event()
which is now obsolete.

(sortof cherry-pixked from 979e5061a040f8896f505ffbd230f52af2d61ded
but needed manual editing because GdkQuartzWindow.c was renamed
and apparently earlier patches not picked correctly/completely)
gdk/quartz/GdkQuartzNSWindow.c
gdk/quartz/GdkQuartzNSWindow.h
gdk/quartz/GdkQuartzView.c
gdk/quartz/gdkevents-quartz.c
gdk/quartz/gdkprivate-quartz.h