diff options
-rw-r--r-- | xchord.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -82,10 +82,7 @@ main(int argc, char *argv[]) /* 1 pressed + 3 pressed + 3 released (third step) */ if(p == 2 && rev->detail == 3){ p = 3; - if(vfork() == 0){ - execlp("dwim", "dwim", NULL); - err(1, "execlp"); - } + system("dwim"); } /* 1 released (reset) */ if((p == 1 || p == 3) && rev->detail == 1) p = 0; |