config.def.h
changeset 1186 48ffaf800504
parent 1183 b20561489ffb
child 1188 1765468a0546
equal deleted inserted replaced
1185:e6b4b21680be 1186:48ffaf800504
    20 
    20 
    21 /* geometries, s{x,y,w,h} and bh are already initualized here */
    21 /* geometries, s{x,y,w,h} and bh are already initualized here */
    22 /*   func name  bx  by  bw  wx  wy  ww     wh  mx  my       mw  mh     tx  ty     tw  th  mox moy mow moh */
    22 /*   func name  bx  by  bw  wx  wy  ww     wh  mx  my       mw  mh     tx  ty     tw  th  mox moy mow moh */
    23 #define MFACT			0.55	/* master width factor [0.1 .. 0.9] */
    23 #define MFACT			0.55	/* master width factor [0.1 .. 0.9] */
    24 DEFGEOM(single,  0,  0, sw,  0, bh, sw, sh-bh, wx, wy, mfact*ww, wh, mx+mw, wy, ww-mw, wh,  wx, wy, ww, wh)
    24 DEFGEOM(single,  0,  0, sw,  0, bh, sw, sh-bh, wx, wy, mfact*ww, wh, mx+mw, wy, ww-mw, wh,  wx, wy, ww, wh)
       
    25 DEFGEOM(dual,    0,  0,1280, 0, bh, ww, wh-bh, wx, wy, 1280,800-bh,  1280,  0, ww-mw, sh,  mx, my, mw, mh)
    25 
    26 
    26 Geom geoms[] = {
    27 Geom geoms[] = {
    27 	/* symbol	function */
    28 	/* symbol	function */
    28 	{ "[]",		single },	/* first entry is default */
    29 	{ "[]",		single },	/* first entry is default */
       
    30 	{ "[][]",	dual },
    29 };
    31 };
    30 
    32 
    31 /* layout(s) */
    33 /* layout(s) */
    32 #define RESIZEHINTS		True	/* False - respect size hints in tiled resizals */
    34 #define RESIZEHINTS		True	/* False - respect size hints in tiled resizals */
    33 #define SNAP			32	/* snap pixel */
    35 #define SNAP			32	/* snap pixel */