X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=view.c;h=d3378ffdb4c884b0e79edfffc9e68399fe041ef4;hp=dab812854caa3f0a132eaa98b71f18b901e6c75d;hb=a118a57fe3fd13036f24ebe093a5c329608a0600;hpb=02cea3b47e944ddb7541dfb404af205c1064191a diff --git a/view.c b/view.c index dab8128..d3378ff 100644 --- a/view.c +++ b/view.c @@ -95,6 +95,24 @@ dofloat(Arg *arg) { 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;