# HG changeset patch # User Anselm R Garbe # Date 1213438910 -3600 # Node ID 98213209a570ac0dad09fb3f6658069821248386 # Parent e121660425a0b79579173beef8c56a26f6d64023 removed root window click handling diff -r e121660425a0 -r 98213209a570 config.def.h --- a/config.def.h Sat Jun 14 10:38:18 2008 +0100 +++ b/config.def.h Sat Jun 14 11:21:50 2008 +0100 @@ -100,7 +100,6 @@ { 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) diff -r e121660425a0 -r 98213209a570 dwm.c --- a/dwm.c Sat Jun 14 10:38:18 2008 +0100 +++ b/dwm.c Sat Jun 14 11:21:50 2008 +0100 @@ -60,7 +60,7 @@ 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 @@ Client *c; XButtonPressedEvent *ev = &e->xbutton; - click = ClkRootWin; + click = ClkLast; if(ev->window == barwin) { i = x = 0; do