pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f70a14
)
a small fix to buttonpress
author
Anselm R Garbe
<garbeam@gmail.com>
Thu, 28 Feb 2008 17:13:13 +0000
(17:13 +0000)
committer
Anselm R Garbe
<garbeam@gmail.com>
Thu, 28 Feb 2008 17:13:13 +0000
(17:13 +0000)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
87bc1d2
..
60d6ea6
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-291,8
+291,6
@@
applyrules(Client *c) {
}
}
-
-
void
arrange(void) {
unsigned int i;
@@
-342,6
+340,8
@@
buttonpress(XEvent *e) {
if(ev->window == selview->barwin) {
x = 0;
for(i = 0; i < LENGTH(tags); i++) {
+ if(&views[vtags[i]] != selview)
+ continue;
x += textw(tags[i]);
if(ev->x < x) {
if(ev->button == Button1) {