diff options
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -324,9 +324,9 @@ buttonpress(XEvent *e) { | |||
| 324 | } | 324 | } |
| 325 | } | 325 | } |
| 326 | if(ev->x < x + blw) { | 326 | if(ev->x < x + blw) { |
| 327 | if(ev->button == Button1) | 327 | if(ev->button == Button1) |
| 328 | togglelayout(NULL); | 328 | togglelayout(NULL); |
| 329 | else if(ev->button == Button3) | 329 | else if(ev->button == Button3) |
| 330 | togglemax(NULL); | 330 | togglemax(NULL); |
| 331 | } | 331 | } |
| 332 | } | 332 | } |
| @@ -662,7 +662,7 @@ focusstack(const Arg *arg) { | |||
| 662 | for(i = clients; i != sel; i = i->next) | 662 | for(i = clients; i != sel; i = i->next) |
| 663 | if (!i->isbanned) | 663 | if (!i->isbanned) |
| 664 | c = i; | 664 | c = i; |
| 665 | if(!c) | 665 | if(!c) |
| 666 | for(; i; i = i->next) | 666 | for(; i; i = i->next) |
| 667 | if (!i->isbanned) | 667 | if (!i->isbanned) |
| 668 | c = i; | 668 | c = i; |
