From 37f7ee73cc676ce1c964c8d0455ef75f669e60f8 Mon Sep 17 00:00:00 2001 From: Reginald Kennedy Date: Wed, 23 Mar 2016 10:38:38 +0800 Subject: [PATCH] Fix possible delay on uniconify/search_win/search_workspace. --- spectrwm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spectrwm.c b/spectrwm.c index 3809446..f5b4eac 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -11613,6 +11613,9 @@ noconfig: } } + if (search_resp) + search_do_resp(); + num_readable = poll(pfd, bar_extra ? 2 : 1, 1000); if (num_readable == -1) { DNPRINTF(SWM_D_MISC, "poll failed: %s", @@ -11625,9 +11628,6 @@ noconfig: if (restart_wm) restart(NULL, NULL, NULL); - if (search_resp) - search_do_resp(); - if (!running) goto done; -- 2.39.2