about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.def.h5
-rw-r--r--dwm.c2
2 files changed, 2 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h
index 9262025..d62b131 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,   "<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
--- 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();
way to make them work in tiled mode, thus I switch to floating mode if I run such kind of app), also fixed the xterm issue reported by Sander' href='/acidbong/suckless/dwm/commit/config.arg.h?h=1.1&id=95e8d12b7189d4cd01b8ae8ecebfa5835a1809e6'>95e8d12 ^
1bf0c4a ^
a73a882 ^
b38905b ^
a73a882 ^

9fbb2eb ^


a73a882 ^




f504aea ^
42277b1 ^

a73a882 ^

9fbb2eb ^





a73a882 ^

9955ddc ^
8e053b6 ^
42277b1 ^
a73a882 ^



e21d93b ^




a73a882 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55