removed the <M> togglelayout call
authorAnselm R Garbe <garbeam@gmail.com>
Sat, 17 May 2008 13:50:37 +0000 (14:50 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Sat, 17 May 2008 13:50:37 +0000 (14:50 +0100)
config.def.h
dwm.c

index 9262025..d62b131 100644 (file)
@@ -25,8 +25,8 @@ Rule rules[] = {
 #include "tile.c"
 Layout layouts[] = {
        /* symbol     arrange  geom */
-       { "[]=",      tile,    tilegeom }, /* first entry is default */
-       { "><>",      NULL,             }, /* no layout function means floating behavior */
+       { "[]=",      tile,    updatetilegeom }, /* first entry is default */
+       { "><>",      NULL,                   }, /* no layout function means floating behavior */
 };
 
 /* key definitions */
@@ -40,7 +40,6 @@ Key keys[] = {
        { MODKEY,                       XK_h,      setmfact,       "-0.05" },
        { MODKEY,                       XK_l,      setmfact,       "+0.05" },
        { MODKEY,                       XK_Return, zoom,           NULL },
-       { MODKEY,                       XK_m,      togglelayout,   "<M>" },
        { MODKEY,                       XK_Tab,    viewprevtag,    NULL },
        { MODKEY|ShiftMask,             XK_c,      killclient,     NULL },
        { MODKEY,                       XK_space,  togglelayout,   NULL },
diff --git a/dwm.c b/dwm.c
index f3254ae..28b8fdf 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -336,8 +336,6 @@ buttonpress(XEvent *e) {
                else if(ev->button == Button2) {
                        if(lt->arrange && c->isfloating)
                                togglefloating(NULL);
-                       else
-                               zoom(NULL);
                }
                else if(ev->button == Button3 && !c->isfixed) {
                        restack();