JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Button3 click on mode label toggles stack position now
[dwm.git] / event.c
diff --git a/event.c b/event.c
index 83e1b86..a17034c 100644 (file)
--- a/event.c
+++ b/event.c
@@ -126,6 +126,8 @@ buttonpress(XEvent *e) {
                if(ev->x < x + bmw) {
                        if(ev->button == Button1)
                                togglemode(NULL);
+                       else if(ev->button == Button3)
+                               togglestackpos(NULL);
                }
        }
        else if((c = getclient(ev->window))) {