]> code.delx.au - spectrwm/commitdiff
Fix search_resp by adding xcb_flush.
authorReginald Kennedy <rk@rejii.com>
Thu, 16 Aug 2012 23:05:17 +0000 (07:05 +0800)
committerReginald Kennedy <rk@rejii.com>
Mon, 20 Aug 2012 18:32:34 +0000 (02:32 +0800)
spectrwm.c

index 229e4013eb47195b60be8ff7d1d46445d9492c19..c590438500464e117445726037deb6e49a7bc693 100644 (file)
@@ -4052,8 +4052,6 @@ uniconify(struct swm_region *r, union arg *args)
        }
 
        fclose(lfile);
-
-       xcb_flush(conn);
 }
 
 void
@@ -4404,6 +4402,8 @@ done:
        search_resp_action = SWM_SEARCH_NONE;
        close(select_resp_pipe[0]);
        free(resp);
+
+       xcb_flush(conn);
 }
 
 void