X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=event.c;h=a17034cbcac615b3709768a22238fb72dee37aac;hb=0384faeee5308d992e60084dd6565c78e6e11af4;hp=83e1b864f91de4ae348b6ac41760fdf484a7793b;hpb=14d05e7c725a4a07136ceb123cf760272afc1a87;p=dwm.git diff --git a/event.c b/event.c index 83e1b86..a17034c 100644 --- 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))) {