all repos — dwm @ 9ff5143acba0c6b457bfb92370c8397b7f124f3a

my dwm build

removed root window click handling
Anselm R Garbe garbeam@gmail.com
Sat, 14 Jun 2008 11:21:50 +0100
commit

9ff5143acba0c6b457bfb92370c8397b7f124f3a

parent

1edf6a7866ebe219bfa81a1b289fa5c8d0cdfbee

2 files changed, 2 insertions(+), 3 deletions(-)

jump to
M config.def.hconfig.def.h

@@ -100,7 +100,6 @@ { ClkWinTitle, 0, Button5, focusstack, {.i = -1 } },

{ 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)
M dwm.cdwm.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 @@ uint i, x, click;

Client *c; XButtonPressedEvent *ev = &e->xbutton; - click = ClkRootWin; + click = ClkLast; if(ev->window == barwin) { i = x = 0; do