]> git.sur5r.net Git - i3/i3/blobdiff - include/main.h
dragging: instead of using a custom event loop, use libev
[i3/i3] / include / main.h
diff --git a/include/main.h b/include/main.h
new file mode 100644 (file)
index 0000000..9261a5d
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * vim:ts=4:sw=4:expandtab
+ *
+ * i3 - an improved dynamic tiling window manager
+ * © 2009-2013 Michael Stapelberg and contributors (see also: LICENSE)
+ *
+ * main.c: Initialization, main loop
+ *
+ */
+#ifndef I3_MAIN_H
+#define I3_MAIN_H
+
+/**
+ * Enable or disable the main X11 event handling function.
+ * This is used by drag_pointer() which has its own, modal event handler, which
+ * takes precedence over the normal event handler.
+ *
+ */
+void main_set_x11_cb(bool enable);
+
+#endif