summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-06-20 16:52:07 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-06-20 16:52:07 +0100
commitb86c818599f8fecd42bcde564686b2489196d7ab (patch)
tree507dcf29cd248e548c645addeb41e9454a3c4b23 /config.def.h
parentmade arrange again like it was once (diff)
downloaddwm-b86c818599f8fecd42bcde564686b2489196d7ab.tar.gz
dwm-b86c818599f8fecd42bcde564686b2489196d7ab.zip
applied Gottox' ClkTagBar patch
Diffstat (limited to '')
-rw-r--r--config.def.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/config.def.h b/config.def.h
index 6cf3989..fa2ed99 100644
--- a/config.def.h
+++ b/config.def.h
@@ -84,12 +84,6 @@ static Key keys[] = {
84}; 84};
85 85
86/* button definitions */ 86/* button definitions */
87#define TAGBUTTONS(TAG) \
88 { TAG, 0, Button1, view, {.ui = 1 << TAG} }, \
89 { TAG, 0, Button3, toggleview, {.ui = 1 << TAG} }, \
90 { TAG, MODKEY, Button1, tag, {.ui = 1 << TAG} }, \
91 { TAG, MODKEY, Button3, toggletag, {.ui = 1 << TAG} },
92
93/* click can be a tag number (starting at 0), 87/* click can be a tag number (starting at 0),
94 * ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ 88 * ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
95static Button buttons[] = { 89static Button buttons[] = {
@@ -101,14 +95,9 @@ static Button buttons[] = {
101 { ClkClientWin, MODKEY, Button1, movemouse, {0} }, 95 { ClkClientWin, MODKEY, Button1, movemouse, {0} },
102 { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, 96 { ClkClientWin, MODKEY, Button2, togglefloating, {0} },
103 { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, 97 { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
104 TAGBUTTONS(0) 98 { ClkTagBar, 0, Button1, view, {0} }, \
105 TAGBUTTONS(1) 99 { ClkTagBar, 0, Button3, toggleview, {0} }, \
106 TAGBUTTONS(2) 100 { ClkTagBar, MODKEY, Button1, tag, {0} }, \
107 TAGBUTTONS(3) 101 { ClkTagBar, MODKEY, Button3, toggletag, {0} },
108 TAGBUTTONS(4)
109 TAGBUTTONS(5)
110 TAGBUTTONS(6)
111 TAGBUTTONS(7)
112 TAGBUTTONS(8)
113}; 102};
114 103