diff options
author | Anselm R Garbe | 2008-06-14 11:21:50 +0100 |
---|---|---|
committer | Anselm R Garbe | 2008-06-14 11:21:50 +0100 |
commit | b5e0be602de4592b674475f81df387bfd5e1c66a (patch) | |
tree | 47723818139cc06d4ef31a9e73d5560e10401c58 | |
parent | ba9349b691b2ad35efc7c546a35bb8abcb7a7356 (diff) | |
download | aur-b5e0be602de4592b674475f81df387bfd5e1c66a.tar.gz |
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 49d2f1fe0f15..d6566bfd9632 100644 --- a/config.def.h +++ b/config.def.h @@ -100,7 +100,6 @@ static Button buttons[] = { { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, - { ClkRootWin, Button1Mask, Button3, spawn, {.v = termcmd } }, TAGBUTTONS(0) TAGBUTTONS(1) TAGBUTTONS(2) @@ -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 |