Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1edf6a7
)
removed root window click handling
author
Anselm R Garbe
<garbeam@gmail.com>
Sat, 14 Jun 2008 10:21:50 +0000
(11:21 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Sat, 14 Jun 2008 10:21:50 +0000
(11:21 +0100)
config.def.h
patch
|
blob
|
history
dwm.c
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
49d2f1f
..
d6566bf
100644
(file)
--- 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} },
{ 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)
TAGBUTTONS(0)
TAGBUTTONS(1)
TAGBUTTONS(2)
diff --git
a/dwm.c
b/dwm.c
index
05c0199
..
dd55ee2
100644
(file)
--- 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,
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;
/* typedefs */
typedef unsigned int uint;
@@
-312,7
+312,7
@@
buttonpress(XEvent *e) {
Client *c;
XButtonPressedEvent *ev = &e->xbutton;
Client *c;
XButtonPressedEvent *ev = &e->xbutton;
- click = ClkRootWin;
+ click = ClkLast;
if(ev->window == barwin) {
i = x = 0;
do
if(ev->window == barwin) {
i = x = 0;
do