gtk2/gdk
William Jon McCann 323df2b280 Make gdk_event_apply_filters safe against changes in filter list
An event filter may add or remove filters itself.  This patch does
two things to address this case.  The first is to take a temporary
reference to the filter while it is being used.  The second is
to wait until after the filter function is run before determining
the next node in the list to process.  This guards against
changes to the next node.  It also does not run functions
that have been marked as removed.  Though I'm not sure if this
case can arise.

https://bugzilla.gnome.org/show_bug.cgi?id=635380
2010-11-22 13:16:24 -05:00
..
quartz Make gdk_event_apply_filters safe against changes in filter list 2010-11-22 13:16:24 -05:00
tests Switch to CSS interpretation of rgb() and rgba() colors 2010-11-03 13:41:45 -04:00
win32 Make gdk_event_apply_filters safe against changes in filter list 2010-11-22 13:16:24 -05:00
x11 Make gdk_event_apply_filters safe against changes in filter list 2010-11-22 13:16:24 -05:00
abicheck.sh Distcheck fixes 2010-06-08 15:37:52 -04:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c docs: Move documentation to inline comments: gdkthreads 2010-11-15 21:06:35 +01:00
gdk.h Include gdkrgba.h 2010-10-25 14:35:19 -04:00
gdk.symbols Add new GdkRGBA api to symbol list 2010-10-25 13:44:43 -04:00
gdkapplaunchcontext.c docs: Move documentation to inline comments: gdkapplaunchcontext 2010-11-15 03:18:45 +01: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 GdkRGBA struct to supersede GdkColor 2010-10-22 20:14:56 +02:00
gdkcairo.h Add GdkRGBA struct to supersede GdkColor 2010-10-22 20:14:56 +02:00
gdkcolor.c Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
gdkcolor.h docs: Move documentation to inline comments: colors 2010-10-04 03:48:05 +02: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 docs: Move documentation to inline comments: gdkcursor 2010-11-15 18:24:31 +01:00
gdkcursor.h docs: Move documentation to inline comments: gdkcursor 2010-11-15 18:24:31 +01:00
gdkdevice.c gdk: change signature of gdk_device_get_history() back to what it used to be 2010-10-19 13:30:42 +02:00
gdkdevice.h gdk: change signature of gdk_device_get_history() back to what it used to be 2010-10-19 13:30:42 +02:00
gdkdevicemanager.c Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
gdkdevicemanager.h GdkDeviceManager: Add gdk_device_manager_get_client_pointer(). 2010-06-24 02:30:53 +02:00
gdkdeviceprivate.h gdk: change signature of gdk_device_get_history() back to what it used to be 2010-10-19 13:30:42 +02:00
gdkdisplay.c docs: Move documentation to inline comments: gdkdisplay 2010-11-15 03:37:21 +01:00
gdkdisplay.h docs: Move documentation to inline comments: gdkdisplay 2010-11-15 03:37:21 +01:00
gdkdisplaymanager.c docs: Move documentation to inline comments: gdkdisplaymanager 2010-11-15 04:12:57 +01:00
gdkdisplaymanager.h docs: Move documentation to inline comments: gdkdisplaymanager 2010-11-15 04:12:57 +01:00
gdkdnd.c Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
gdkdnd.h Add a missing accessor for GdkDragContext->source_window. 2010-06-10 16:04:28 +02:00
gdkdraw.c Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
gdkdrawable.h docs: Move documentation to inline comments: drawing 2010-11-15 21:06:35 +01:00
gdkenumtypes.c.template gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdkenumtypes.h.template Remove remaining single-include guards 2010-06-04 19:40:43 -04:00
gdkevents.c docs: Move documentation to inline comments: gdkevents 2010-11-15 21:06:35 +01:00
gdkevents.h docs: Move documentation to inline comments: event_structs 2010-11-15 21:08:11 +01:00
gdkglobals.c Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
gdkinput.h Add deprecation guards for gdk_device_get_core_pointer() 2010-09-22 03:53:23 +02:00
gdkinternals.h Make gdk_event_apply_filters safe against changes in filter list 2010-11-22 13:16:24 -05:00
gdkintl.h Fix distcheck 2010-10-01 20:02:35 -04:00
gdkkeynames.c Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
gdkkeys.c docs: Move documentation to inline comments: gdkkeys 2010-11-15 05:19:33 +01:00
gdkkeys.h docs: Move documentation to inline comments: gdkkeys 2010-11-15 05:19:33 +01:00
gdkkeysyms-compat.h GDK: Prefix key names with KEY_ 2010-09-08 18:51:44 -04:00
gdkkeysyms-update.pl GDK: Prefix key names with KEY_ 2010-09-08 18:51:44 -04:00
gdkkeysyms.h GDK: Prefix key names with KEY_ 2010-09-08 18:51:44 -04:00
gdkkeyuni.c Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
gdkmain.h docs: Move documentation to inline comments: general 2010-11-15 05:35:40 +01:00
gdkmarshalers.list Bug 631599 - Allow to use arbitrary surfaces for offscreen windows 2010-10-14 13:25:23 +02:00
gdkmedialib.c Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
gdkmedialib.h Revert name change 2008-07-01 22:57:50 +00:00
gdkoffscreenwindow.c gdk: add alpha to the offscreen window's surface if its visual is RGBA 2010-10-20 17:44:23 +02:00
gdkpango.c docs: Move documentation to inline comments: gdkpango 2010-11-15 18:24:31 +01:00
gdkpango.h API: remove GdkPangoRenderer 2010-08-10 21:02:29 +02:00
gdkpixbuf-drawable.c Make gdk_pixbuf_get_from_surface() accept negative src_x,y coordinates 2010-10-19 14:07:39 +02:00
gdkpixbuf.h gdk: Make gdk_pixbuf_get_from_*() bindable 2010-10-02 03:08:24 +02:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkprivate.h API: Remove gdk_window_set_back_pixmap() 2010-09-26 15:11:30 +02:00
gdkproperty.h docs: Move documentation to inline comments: properties 2010-11-15 21:06:34 +01:00
gdkrectangle.c Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
gdkrectangle.h Inclusion cleanups in headers 2010-10-14 22:08:53 -04:00
gdkrgba.c docs: gdkrgba: Add "Since: 3.0" tags 2010-11-15 06:04:06 +01:00
gdkrgba.h Make gdk_rgba_to_string() take a const GdkRGBA 2010-10-29 21:16:52 -04:00
gdkscreen.c docs: Move documentation to inline comments: gdkscreen 2010-11-15 04:12:57 +01:00
gdkscreen.h docs: Move documentation to inline comments: gdkscreen 2010-11-15 04:12:57 +01:00
gdkselection.c docs: Move documentation to inline comments: properties 2010-11-15 21:06:34 +01:00
gdkselection.h docs: Move documentation to inline comments: gdkselection 2010-11-15 18:24:31 +01:00
gdkspawn.h Use a GPid on gdk_spawn_on_screen[_with_pipes]. Take 2 2010-06-15 17:16:43 +02:00
gdktestutils.h docs: move documentation to inline comments: gdktesting 2010-11-15 04:12:57 +01:00
gdkthreads.h docs: Move documentation to inline comments: gdkthreads 2010-11-15 21:06:35 +01:00
gdktypes.h docs: Move documentation to inline comments: event_structs 2010-11-15 21:08:11 +01:00
gdkvisual.c docs: Move documentation to inline comments: gdkvisual 2010-11-15 18:24:31 +01:00
gdkvisual.h docs: Move documentation to inline comments: gdkvisual 2010-11-15 18:24:31 +01:00
gdkwindow.c Make gdk_event_apply_filters safe against changes in filter list 2010-11-22 13:16:24 -05:00
gdkwindow.h GdkWindow: Add gdk_window_set_background_rgba() 2010-10-22 20:14:56 +02:00
gdkwindowimpl.c Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
gdkwindowimpl.h Make set_cairo_surface_size a vfunc on GdkWindowImpl 2010-10-05 15:38:23 +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 Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am Add GdkRGBA struct to supersede GdkColor 2010-10-22 20:14:56 +02:00
makefile.msc gdk: Remove GdkPixmap 2010-09-26 15:11:30 +02:00