mirror of git://git.suckless.org/dwm
removed the <M> togglelayout call
This commit is contained in:
parent
a864a82b34
commit
585294ce0f
|
@ -25,8 +25,8 @@ Rule rules[] = {
|
||||||
#include "tile.c"
|
#include "tile.c"
|
||||||
Layout layouts[] = {
|
Layout layouts[] = {
|
||||||
/* symbol arrange geom */
|
/* symbol arrange geom */
|
||||||
{ "[]=", tile, tilegeom }, /* first entry is default */
|
{ "[]=", tile, updatetilegeom }, /* first entry is default */
|
||||||
{ "><>", NULL, }, /* no layout function means floating behavior */
|
{ "><>", NULL, }, /* no layout function means floating behavior */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* key definitions */
|
/* key definitions */
|
||||||
|
@ -40,7 +40,6 @@ Key keys[] = {
|
||||||
{ MODKEY, XK_h, setmfact, "-0.05" },
|
{ MODKEY, XK_h, setmfact, "-0.05" },
|
||||||
{ MODKEY, XK_l, setmfact, "+0.05" },
|
{ MODKEY, XK_l, setmfact, "+0.05" },
|
||||||
{ MODKEY, XK_Return, zoom, NULL },
|
{ MODKEY, XK_Return, zoom, NULL },
|
||||||
{ MODKEY, XK_m, togglelayout, "<M>" },
|
|
||||||
{ MODKEY, XK_Tab, viewprevtag, NULL },
|
{ MODKEY, XK_Tab, viewprevtag, NULL },
|
||||||
{ MODKEY|ShiftMask, XK_c, killclient, NULL },
|
{ MODKEY|ShiftMask, XK_c, killclient, NULL },
|
||||||
{ MODKEY, XK_space, togglelayout, NULL },
|
{ MODKEY, XK_space, togglelayout, NULL },
|
||||||
|
|
2
dwm.c
2
dwm.c
|
@ -336,8 +336,6 @@ buttonpress(XEvent *e) {
|
||||||
else if(ev->button == Button2) {
|
else if(ev->button == Button2) {
|
||||||
if(lt->arrange && c->isfloating)
|
if(lt->arrange && c->isfloating)
|
||||||
togglefloating(NULL);
|
togglefloating(NULL);
|
||||||
else
|
|
||||||
zoom(NULL);
|
|
||||||
}
|
}
|
||||||
else if(ev->button == Button3 && !c->isfixed) {
|
else if(ev->button == Button3 && !c->isfixed) {
|
||||||
restack();
|
restack();
|
||||||
|
|
Loading…
Reference in New Issue