JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
made shortcuts like proposed by Sander, renamed viewextend to toggleview (more clear)
[dwm.git] / event.c
diff --git a/event.c b/event.c
index e452167..9da7ac4 100644 (file)
--- a/event.c
+++ b/event.c
@@ -109,7 +109,7 @@ buttonpress(XEvent *e)
                                x += textw(tags[a.i]);
                                if(ev->x < x) {
                                        if(ev->button == Button3)
-                                               viewextend(&a);
+                                               toggleview(&a);
                                        else
                                                view(&a);
                                        return;