Fix possible delay on uniconify/search_win/search_workspace.

This commit is contained in:
Reginald Kennedy 2016-03-23 10:38:38 +08:00
parent de026ee5da
commit 37f7ee73cc

View file

@ -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;