Mercurial > audlegacy
diff audacious/mainwin.c @ 533:bcbc6195e82e trunk
[svn] throw out duplicate XEvents... again, for speed purposes we don't need
to process every pixel the player is manipulated
author | nenolod |
---|---|
date | Fri, 27 Jan 2006 21:29:56 -0800 |
parents | c4a560cb40f9 |
children | 42b813e9b9fd |
line wrap: on
line diff
--- a/audacious/mainwin.c Fri Jan 27 21:20:29 2006 -0800 +++ b/audacious/mainwin.c Fri Jan 27 21:29:56 2006 -0800 @@ -957,6 +957,7 @@ { int x, y; GdkModifierType state; + GdkEvent *gevent; if (event->is_hint != FALSE) { @@ -987,6 +988,8 @@ gdk_flush(); + while ((gevent = gdk_event_get()) != NULL) gdk_event_free(gevent); + return FALSE; }