Introduction
Introduction Statistics Contact Development Disclaimer Help
ta small fix to buttonpress - dwm - [fork] customized build of dwm, the dynamic…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit d99ec6148258bd7933f3359ba05080e95f9ecb71
parent 2f70a14ee12bad6bf8dd5aa5489d88cddfaa3b06
Author: Anselm R Garbe <[email protected]>
Date: Thu, 28 Feb 2008 17:13:13 +0000
a small fix to buttonpress
Diffstat:
M dwm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/dwm.c b/dwm.c
t@@ -291,8 +291,6 @@ applyrules(Client *c) {
}
}
-
-
void
arrange(void) {
unsigned int i;
t@@ -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) {
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.