view.c
changeset 504 0cefc169ff67
parent 502 9aa3d06199cb
child 505 2c29d74b11dc
--- a/view.c	Thu Sep 28 16:14:48 2006 +0200
+++ b/view.c	Thu Sep 28 21:29:20 2006 +0200
@@ -95,6 +95,24 @@
 	restack();
 }
 
+/* This algorithm is based on a (M)aster area and a (S)tacking area.
+ * It supports following arrangements:
+ *
+ * 	MMMS		MMMM
+ * 	MMMS		MMMM
+ * 	MMMS		SSSS
+ *
+ * The stacking area can be set to arrange clients vertically or horizontally.
+ * Through inverting the algorithm it can be used to achieve following setup in
+ * a dual head environment (due to running two dwm instances concurrently on
+ * the specific screen):
+ *
+ * 	SMM MMS		MMM MMM
+ * 	SMM MMS		MMM MMM
+ * 	SMM MMS		SSS SSS
+ *
+ * This uses the center of the two screens for master areas.
+ */
 void
 dotile(Arg *arg) {
 	int h, i, n, w;