applied sander's patch
4bd0d33f
2 file(s) · +18 −14
| 33 | 33 | .SH USAGE |
|
| 34 | 34 | .TP |
|
| 35 | 35 | .B Mod1-Return |
|
| 36 | - | Zoom |
|
| 36 | + | Zoom current |
|
| 37 | 37 | .B window |
|
| 38 | 38 | to the |
|
| 39 | 39 | .B master |
|
| 92 | 92 | .B window. |
|
| 93 | 93 | .TP |
|
| 94 | 94 | .B Mod1-Button1 |
|
| 95 | - | Moves current |
|
| 95 | + | Move current |
|
| 96 | 96 | .B window |
|
| 97 | 97 | while dragging. |
|
| 98 | 98 | .TP |
|
| 99 | + | .B Mod1-Button2 |
|
| 100 | + | Zoom current |
|
| 101 | + | .B window |
|
| 102 | + | to the |
|
| 103 | + | .B master |
|
| 104 | + | column. |
|
| 105 | + | .TP |
|
| 99 | 106 | .B Mod1-Button3 |
|
| 100 | - | Resizes current |
|
| 107 | + | Resize current |
|
| 101 | 108 | .B window |
|
| 102 | 109 | while dragging. |
|
| 103 | 110 | .SH CUSTOMIZATION |
|
| 122 | 122 | } |
|
| 123 | 123 | } |
|
| 124 | 124 | else if((c = getclient(ev->window))) { |
|
| 125 | + | higher(c); |
|
| 125 | 126 | focus(c); |
|
| 126 | 127 | switch(ev->button) { |
|
| 127 | 128 | default: |
|
| 128 | 129 | break; |
|
| 129 | 130 | case Button1: |
|
| 130 | - | if(!c->ismax) { |
|
| 131 | - | if(arrange == dofloat || c->isfloat) { |
|
| 132 | - | higher(c); |
|
| 133 | - | movemouse(c); |
|
| 134 | - | } |
|
| 135 | - | else |
|
| 136 | - | zoom(NULL); |
|
| 137 | - | } |
|
| 131 | + | if(!c->ismax && (arrange == dofloat || c->isfloat)) |
|
| 132 | + | movemouse(c); |
|
| 133 | + | break; |
|
| 134 | + | case Button2: |
|
| 135 | + | if(!c->ismax && arrange != dofloat && !c->isfloat) |
|
| 136 | + | zoom(NULL); |
|
| 138 | 137 | break; |
|
| 139 | 138 | case Button3: |
|
| 140 | - | if(!c->ismax && (arrange == dofloat || c->isfloat)) { |
|
| 141 | - | higher(c); |
|
| 139 | + | if(!c->ismax && (arrange == dofloat || c->isfloat)) |
|
| 142 | 140 | resizemouse(c); |
|
| 143 | - | } |
|
| 144 | 141 | break; |
|
| 145 | 142 | } |
|
| 146 | 143 | } |