From 16320b0f8d60113cb0f78deacb5638b5ae71e4ab Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Wed, 28 Sep 2011 17:27:00 +0200 Subject: [PATCH] always handle XEvents This prevents queueing up of key-presses when no window is shown, which would close the message immediatly --- dunst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dunst.c b/dunst.c index 899fd15..730b794 100644 --- a/dunst.c +++ b/dunst.c @@ -492,8 +492,8 @@ run(void) { if(msgqueue != NULL) { show_win(); check_timeouts(); - handleXEvents(); } + handleXEvents(); } }