diff options
| -rw-r--r-- | LICENSE | 18 | ||||
| -rw-r--r-- | dwm.c | 6 |
2 files changed, 12 insertions, 12 deletions
| @@ -12,16 +12,16 @@ Permission is hereby granted, free of charge, to any person obtaining a | |||
| 12 | copy of this software and associated documentation files (the "Software"), | 12 | copy of this software and associated documentation files (the "Software"), |
| 13 | to deal in the Software without restriction, including without limitation | 13 | to deal in the Software without restriction, including without limitation |
| 14 | the rights to use, copy, modify, merge, publish, distribute, sublicense, | 14 | the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 15 | and/or sell copies of the Software, and to permit persons to whom the | 15 | and/or sell copies of the Software, and to permit persons to whom the |
| 16 | Software is furnished to do so, subject to the following conditions: | 16 | Software is furnished to do so, subject to the following conditions: |
| 17 | 17 | ||
| 18 | The above copyright notice and this permission notice shall be included in | 18 | The above copyright notice and this permission notice shall be included in |
| 19 | all copies or substantial portions of the Software. | 19 | all copies or substantial portions of the Software. |
| 20 | 20 | ||
| 21 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | 21 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 22 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 22 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 23 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | 23 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 24 | THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 24 | THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 25 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | 25 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 26 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 26 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 27 | DEALINGS IN THE SOFTWARE. | 27 | DEALINGS IN THE SOFTWARE. |
| @@ -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; |
