Mercurial > audlegacy
changeset 2595:50098faf1cdf trunk
[svn] - only discard GdkMotion events.
author | nenolod |
---|---|
date | Thu, 01 Mar 2007 05:02:59 -0800 |
parents | f6e7400a5c1f |
children | 9903326fddf2 |
files | ChangeLog src/audacious/build_stamp.c src/audacious/ui_equalizer.c src/audacious/ui_playlist.c |
diffstat | 4 files changed, 28 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Feb 28 18:26:34 2007 -0800 +++ b/ChangeLog Thu Mar 01 05:02:59 2007 -0800 @@ -1,3 +1,12 @@ +2007-03-01 02:26:34 +0000 Yoshiki Yazawa <yaz@cc.rim.or.jp> + revision [4198] + - add myself to plugin development group. + - correct one of patch authors name. + + trunk/src/audacious/ui_credits.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + + 2007-03-01 00:07:21 +0000 George Averill <nhjm449@gmail.com> revision [4196] - custom field support for audacious_get_tuple_field_data()
--- a/src/audacious/build_stamp.c Wed Feb 28 18:26:34 2007 -0800 +++ b/src/audacious/build_stamp.c Thu Mar 01 05:02:59 2007 -0800 @@ -1,2 +1,2 @@ #include <glib.h> -const gchar *svn_stamp = "20070301-4196"; +const gchar *svn_stamp = "20070301-4198";
--- a/src/audacious/ui_equalizer.c Wed Feb 28 18:26:34 2007 -0800 +++ b/src/audacious/ui_equalizer.c Thu Mar 01 05:02:59 2007 -0800 @@ -399,7 +399,15 @@ gdk_flush(); - while ((gevent = gdk_event_get()) != NULL) gdk_event_free(gevent); + while ((gevent = gdk_event_peek()) != NULL) + { + GdkEventAny *gev = (GdkEventAny *) gevent; + + if (gev->type == GDK_MOTION_NOTIFY) + gdk_event_free(gdk_event_get()); + + gdk_event_free(gevent); + } return FALSE; }
--- a/src/audacious/ui_playlist.c Wed Feb 28 18:26:34 2007 -0800 +++ b/src/audacious/ui_playlist.c Thu Mar 01 05:02:59 2007 -0800 @@ -720,7 +720,15 @@ } gdk_flush(); - while ((gevent = gdk_event_get()) != NULL) gdk_event_free(gevent); + while ((gevent = gdk_event_peek()) != NULL) + { + GdkEventAny *gev = (GdkEventAny *) gevent; + + if (gev->type == GDK_MOTION_NOTIFY) + gdk_event_free(gdk_event_get()); + + gdk_event_free(gevent); + } } static void