X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/d7734f996ff2eae29fea14af76711d7f51648c10..0f395c1b115280a0976a85940c714152d8a58dac:/event.c diff --git a/event.c b/event.c index 42a6fc0..0e98f0f 100644 --- a/event.c +++ b/event.c @@ -136,7 +136,7 @@ buttonpress(XEvent *e) { } else if(ev->button == Button2) zoom(NULL); - else if(ev->button == Button3 && (arrange == dofloat || c->isfloat)) { + else if(ev->button == Button3 && (arrange == dofloat || c->isfloat) && !c->isfixed) { restack(); resizemouse(c); }