]> git.sur5r.net Git - i3/i3/blobdiff - include/bindings.h
Move check_for_duplicate_bindings to bindings.[ch]
[i3/i3] / include / bindings.h
index d309790278b8af3f1240e79d10952c203f80757c..d3d3aa82c492a70d154535c783afeeff6453f2af 100644 (file)
@@ -48,3 +48,12 @@ void translate_keysyms(void);
  *
  */
 void switch_mode(const char *new_mode);
+
+/**
+ * Checks for duplicate key bindings (the same keycode or keysym is configured
+ * more than once). If a duplicate binding is found, a message is printed to
+ * stderr and the has_errors variable is set to true, which will start
+ * i3-nagbar.
+ *
+ */
+void check_for_duplicate_bindings(struct context *context);