simplification
This commit is contained in:
parent
f806a17692
commit
5f55af40ae
2 changed files with 3 additions and 5 deletions
6
dwm.c
6
dwm.c
|
@ -342,10 +342,8 @@ buttonpress(XEvent *e) {
|
|||
restack();
|
||||
movemouse(c);
|
||||
}
|
||||
else if(ev->button == Button2) {
|
||||
if(lt->arrange && c->isfloating)
|
||||
togglefloating(NULL);
|
||||
}
|
||||
else if(ev->button == Button2)
|
||||
togglefloating(NULL);
|
||||
else if(ev->button == Button3 && !c->isfixed) {
|
||||
restack();
|
||||
resizemouse(c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue