From 585294ce0f9ec693b5a4315e9ad794fbd0a7584d Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Sat, 17 May 2008 14:50:37 +0100 Subject: removed the togglelayout call --- config.def.h | 5 ++--- dwm.c | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/config.def.h b/config.def.h index 92620255..d62b1311 100644 --- a/config.def.h +++ b/config.def.h @@ -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, "" }, { 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 f3254ae2..28b8fdfc 100644 --- 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(); -- cgit v1.2.3