diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-06-14 11:21:50 +0100 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-06-14 11:21:50 +0100 |
| commit | 9ff5143acba0c6b457bfb92370c8397b7f124f3a (patch) | |
| tree | 87ed5a4546be8216cc6a1039dd030612dde148bb | |
| parent | removed font and color definitions (diff) | |
| download | dwm-9ff5143acba0c6b457bfb92370c8397b7f124f3a.tar.gz dwm-9ff5143acba0c6b457bfb92370c8397b7f124f3a.zip | |
removed root window click handling
| -rw-r--r-- | config.def.h | 1 | ||||
| -rw-r--r-- | dwm.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index 49d2f1f..d6566bf 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -100,7 +100,6 @@ static Button buttons[] = { | |||
| 100 | { ClkClientWin, MODKEY, Button1, movemouse, {0} }, | 100 | { ClkClientWin, MODKEY, Button1, movemouse, {0} }, |
| 101 | { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, | 101 | { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, |
| 102 | { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, | 102 | { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, |
| 103 | { ClkRootWin, Button1Mask, Button3, spawn, {.v = termcmd } }, | ||
| 104 | TAGBUTTONS(0) | 103 | TAGBUTTONS(0) |
| 105 | TAGBUTTONS(1) | 104 | TAGBUTTONS(1) |
| 106 | TAGBUTTONS(2) | 105 | TAGBUTTONS(2) |
| @@ -60,7 +60,7 @@ enum { ColBorder, ColFG, ColBG, ColLast }; /* color */ | |||
| 60 | enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ | 60 | enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ |
| 61 | enum { WMProtocols, WMDelete, WMName, WMState, WMLast };/* default atoms */ | 61 | enum { WMProtocols, WMDelete, WMName, WMState, WMLast };/* default atoms */ |
| 62 | enum { ClkLtSymbol = 64, ClkStatusText, ClkWinTitle, | 62 | enum { ClkLtSymbol = 64, ClkStatusText, ClkWinTitle, |
| 63 | ClkClientWin, ClkRootWin, ClkLast }; /* clicks */ | 63 | ClkClientWin, ClkLast }; /* clicks */ |
| 64 | 64 | ||
| 65 | /* typedefs */ | 65 | /* typedefs */ |
| 66 | typedef unsigned int uint; | 66 | typedef unsigned int uint; |
| @@ -312,7 +312,7 @@ buttonpress(XEvent *e) { | |||
| 312 | Client *c; | 312 | Client *c; |
| 313 | XButtonPressedEvent *ev = &e->xbutton; | 313 | XButtonPressedEvent *ev = &e->xbutton; |
| 314 | 314 | ||
| 315 | click = ClkRootWin; | 315 | click = ClkLast; |
| 316 | if(ev->window == barwin) { | 316 | if(ev->window == barwin) { |
| 317 | i = x = 0; | 317 | i = x = 0; |
| 318 | do | 318 | do |
