tremoved root window click handling - dwm - [fork] customized build of dwm, the… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 9ff5143acba0c6b457bfb92370c8397b7f124f3a | |
parent 1edf6a7866ebe219bfa81a1b289fa5c8d0cdfbee | |
Author: Anselm R Garbe <[email protected]> | |
Date: Sat, 14 Jun 2008 11:21:50 +0100 | |
removed root window click handling | |
Diffstat: | |
M config.def.h | 1 - | |
M dwm.c | 4 ++-- | |
2 files changed, 2 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/config.def.h b/config.def.h | |
t@@ -100,7 +100,6 @@ static Button buttons[] = { | |
{ ClkClientWin, MODKEY, Button1, movemouse, … | |
{ ClkClientWin, MODKEY, Button2, togglefloating… | |
{ ClkClientWin, MODKEY, Button3, resizemouse, … | |
- { ClkRootWin, Button1Mask, Button3, spawn, … | |
TAGBUTTONS(0) | |
TAGBUTTONS(1) | |
TAGBUTTONS(2) | |
diff --git a/dwm.c b/dwm.c | |
t@@ -60,7 +60,7 @@ enum { ColBorder, ColFG, ColBG, ColLast }; /* c… | |
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; | |
t@@ -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 |