equal
deleted
inserted
replaced
93 focus(c); |
93 focus(c); |
94 } |
94 } |
95 restack(); |
95 restack(); |
96 } |
96 } |
97 |
97 |
|
98 /* This algorithm is based on a (M)aster area and a (S)tacking area. |
|
99 * It supports following arrangements: |
|
100 * |
|
101 * MMMS MMMM |
|
102 * MMMS MMMM |
|
103 * MMMS SSSS |
|
104 * |
|
105 * The stacking area can be set to arrange clients vertically or horizontally. |
|
106 * Through inverting the algorithm it can be used to achieve following setup in |
|
107 * a dual head environment (due to running two dwm instances concurrently on |
|
108 * the specific screen): |
|
109 * |
|
110 * SMM MMS MMM MMM |
|
111 * SMM MMS MMM MMM |
|
112 * SMM MMS SSS SSS |
|
113 * |
|
114 * This uses the center of the two screens for master areas. |
|
115 */ |
98 void |
116 void |
99 dotile(Arg *arg) { |
117 dotile(Arg *arg) { |
100 int h, i, n, w; |
118 int h, i, n, w; |
101 Client *c; |
119 Client *c; |
102 |
120 |