config.def.h
changeset 1490 e3492f42fc39
parent 1458 e30739eebeed
child 1514 2a8d8d41e50b
equal deleted inserted replaced
1489:9f79d36bd5e0 1490:e3492f42fc39
    22 	{ "Firefox",  NULL,       NULL,       1 << 8,       False,       -1 },
    22 	{ "Firefox",  NULL,       NULL,       1 << 8,       False,       -1 },
    23 };
    23 };
    24 
    24 
    25 /* layout(s) */
    25 /* layout(s) */
    26 static const float mfact      = 0.55; /* factor of master area size [0.05..0.95] */
    26 static const float mfact      = 0.55; /* factor of master area size [0.05..0.95] */
    27 static const Bool resizehints = True; /* False means respect size hints in tiled resizals */
    27 static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
    28 
    28 
    29 static const Layout layouts[] = {
    29 static const Layout layouts[] = {
    30 	/* symbol     arrange function */
    30 	/* symbol     arrange function */
    31 	{ "[]=",      tile },    /* first entry is default */
    31 	{ "[]=",      tile },    /* first entry is default */
    32 	{ "><>",      NULL },    /* no layout function means floating behavior */
    32 	{ "><>",      NULL },    /* no layout function means floating behavior */
    82 	TAGKEYS(                        XK_9,                      8)
    82 	TAGKEYS(                        XK_9,                      8)
    83 	{ MODKEY|ShiftMask,             XK_q,      quit,           {0} },
    83 	{ MODKEY|ShiftMask,             XK_q,      quit,           {0} },
    84 };
    84 };
    85 
    85 
    86 /* button definitions */
    86 /* button definitions */
    87 /* click can be a tag number (starting at 0),
    87 /* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
    88  * ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
       
    89 static Button buttons[] = {
    88 static Button buttons[] = {
    90 	/* click                event mask      button          function        argument */
    89 	/* click                event mask      button          function        argument */
    91 	{ ClkLtSymbol,          0,              Button1,        setlayout,      {0} },
    90 	{ ClkLtSymbol,          0,              Button1,        setlayout,      {0} },
    92 	{ ClkLtSymbol,          0,              Button3,        setlayout,      {.v = &layouts[2]} },
    91 	{ ClkLtSymbol,          0,              Button3,        setlayout,      {.v = &layouts[2]} },
    93 	{ ClkWinTitle,          0,              Button2,        zoom,           {0} },
    92 	{ ClkWinTitle,          0,              Button2,        zoom,           {0} },