equal
deleted
inserted
replaced
267 static DC dc; |
267 static DC dc; |
268 static Monitor *mons = NULL, *selmon = NULL; |
268 static Monitor *mons = NULL, *selmon = NULL; |
269 static Window root; |
269 static Window root; |
270 |
270 |
271 /* configuration, allows nested code to access above variables */ |
271 /* configuration, allows nested code to access above variables */ |
|
272 #include "push.h" |
272 #include "config.h" |
273 #include "config.h" |
273 |
274 |
274 struct Monitor { |
275 struct Monitor { |
275 char ltsymbol[16]; |
276 char ltsymbol[16]; |
276 float mfact; |
277 float mfact; |
293 int prevtag; |
294 int prevtag; |
294 const Layout *lts[LENGTH(tags) + 1]; |
295 const Layout *lts[LENGTH(tags) + 1]; |
295 double mfacts[LENGTH(tags) + 1]; |
296 double mfacts[LENGTH(tags) + 1]; |
296 Bool showbars[LENGTH(tags) + 1]; |
297 Bool showbars[LENGTH(tags) + 1]; |
297 }; |
298 }; |
|
299 |
|
300 #include "push.c" |
298 |
301 |
299 /* compile-time check if all tags fit into an unsigned int bit array. */ |
302 /* compile-time check if all tags fit into an unsigned int bit array. */ |
300 struct NumTags { char limitexceeded[LENGTH(tags) > 31 ? -1 : 1]; }; |
303 struct NumTags { char limitexceeded[LENGTH(tags) > 31 ? -1 : 1]; }; |
301 |
304 |
302 /* function implementations */ |
305 /* function implementations */ |