X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=event.c;h=a17034cbcac615b3709768a22238fb72dee37aac;hb=d9c475d7f4978f97b63b462425eb413c11fe337b;hp=83e1b864f91de4ae348b6ac41760fdf484a7793b;hpb=c8e57332d1a5167d213af0fc9438ff2b56c74fbb;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))) {