Mercurial > audlegacy
comparison src/audacious/ui_playlist.c @ 2595:50098faf1cdf trunk
[svn] - only discard GdkMotion events.
author | nenolod |
---|---|
date | Thu, 01 Mar 2007 05:02:59 -0800 |
parents | 7c6ce705adda |
children | 54c93d9555fc |
comparison
equal
deleted
inserted
replaced
2594:f6e7400a5c1f | 2595:50098faf1cdf |
---|---|
718 handle_motion_cb(playlistwin_wlist, widget, event); | 718 handle_motion_cb(playlistwin_wlist, widget, event); |
719 draw_playlist_window(FALSE); | 719 draw_playlist_window(FALSE); |
720 } | 720 } |
721 gdk_flush(); | 721 gdk_flush(); |
722 | 722 |
723 while ((gevent = gdk_event_get()) != NULL) gdk_event_free(gevent); | 723 while ((gevent = gdk_event_peek()) != NULL) |
724 { | |
725 GdkEventAny *gev = (GdkEventAny *) gevent; | |
726 | |
727 if (gev->type == GDK_MOTION_NOTIFY) | |
728 gdk_event_free(gdk_event_get()); | |
729 | |
730 gdk_event_free(gevent); | |
731 } | |
724 } | 732 } |
725 | 733 |
726 static void | 734 static void |
727 playlistwin_enter(GtkWidget * widget, | 735 playlistwin_enter(GtkWidget * widget, |
728 GdkEventMotion * event, | 736 GdkEventMotion * event, |