]> git.sur5r.net Git - i3/i3/blobdiff - i3-input/main.c
Merge pull request #2507 from stapelberg/autotools
[i3/i3] / i3-input / main.c
index 2241f2cffd1c4e5b8765bb2489214f92e6c8b643..97d574a220a051efda053e2433042c176859a267 100644 (file)
@@ -8,6 +8,8 @@
  *                  to i3.
  *
  */
+#include "libi3.h"
+
 #include <stdio.h>
 #include <sys/types.h>
 #include <stdlib.h>
@@ -31,8 +33,6 @@
 
 #include "i3-input.h"
 
-#include "libi3.h"
-
 /* IPC format string. %s will be replaced with what the user entered, then
  * the command will be sent to i3 */
 static char *format;
@@ -216,10 +216,6 @@ static void finish_input() {
 
     free(full);
 
-#if 0
-    free(command);
-    return 1;
-#endif
     exit(0);
 }