about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-06-14 11:21:50 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-06-14 11:21:50 +0100
commit9ff5143acba0c6b457bfb92370c8397b7f124f3a (patch)
tree87ed5a4546be8216cc6a1039dd030612dde148bb /dwm.c
parent1edf6a7866ebe219bfa81a1b289fa5c8d0cdfbee (diff)
downloaddwm-9ff5143acba0c6b457bfb92370c8397b7f124f3a.tar.gz
removed root window click handling
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 05c0199..dd55ee2 100644
--- a/dwm.c
+++ b/dwm.c
@@ -60,7 +60,7 @@ enum { ColBorder, ColFG, ColBG, ColLast };              /* color */
 enum { NetSupported, NetWMName, NetLast };              /* EWMH atoms */
 enum { WMProtocols, WMDelete, WMName, WMState, WMLast };/* default atoms */
 enum { ClkLtSymbol = 64, ClkStatusText, ClkWinTitle,
-       ClkClientWin, ClkRootWin, ClkLast };             /* clicks */
+       ClkClientWin, ClkLast };                         /* clicks */
 
 /* typedefs */
 typedef unsigned int uint;
@@ -312,7 +312,7 @@ buttonpress(XEvent *e) {
 	Client *c;
 	XButtonPressedEvent *ev = &e->xbutton;
 
-	click = ClkRootWin;
+	click = ClkLast;
 	if(ev->window == barwin) {
 		i = x = 0;
 		do