From b1d4c2a7661dedae38c3036987d5d1c642d2c14e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 3 Oct 2009 23:58:10 +0200 Subject: [PATCH] main: clear mpdclient.events in end_input_event() The events bit mask should be cleared after every screen_update() call. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index a8643a3..f874d62 100644 --- a/src/main.c +++ b/src/main.c @@ -252,7 +252,6 @@ timer_mpd_update(gpointer data) #endif screen_update(mpd); - mpd->events = 0; return GPOINTER_TO_INT(data); @@ -265,6 +264,7 @@ void begin_input_event(void) void end_input_event(void) { screen_update(mpd); + mpd->events = 0; } int do_input_event(command_t cmd) -- 2.30.2